DiskLib v1.2.0
This has been heavily tested but please feel free to report any issues found.
To add it as a maven dependency:
<dependency>
<groupId>com.konloch</groupId>
<artifactId>DiskLib</artifactId>.Read MorePublished 02/14/2023 Updated 02/27/2023
DiskLib is an easy-to-use zero dependency Disk Writer & Disk Reader with built-in GZIP support for Java.
Add the following to your pom.xml as a maven dependency, or just download the latest release and import it with your IDE.
<dependency>
<groupId>com.konloch</groupId>
<artifactId>DiskLib</artifactId>
<version>2.2.0</version>
</dependency>
ArrayList<String> lines = DiskReader.read("hello.txt");
String[] lines = DiskReader.readLines("hello.txt");
byte[] bytes = DiskReader.readBytes("hello.txt");
Lists, or Sets, just pass where the string parameter goes for the content line.DiskReader.write("hello.txt", "Hello ");
DiskReader.append("hello.txt", "World");
This has been heavily tested but please feel free to report any issues found.
To add it as a maven dependency:
<dependency>
<groupId>com.konloch</groupId>
<artifactId>DiskLib</artifactId>.Read MoreThis has been heavily tested but please feel free to report any issues found.
To add it as a maven dependency:
<dependency>
<groupId>com.konloch</groupId>
<artifactId>DiskLib</artifactId>.Read MoreThis has been heavily tested but please feel free to report any issues found.
To add it as a maven dependency:
<dependency>
<groupId>com.konloch</groupId>
<artifactId>DiskLib</artifactId>.Read MoreThis is the first public release of the library, it has been heavily tested but please feel free to report any issues found.