ph io - phax/ph-commons GitHub Wiki
Generic input/output utilities and the resource abstraction layer.
Highlights:
-
IReadableResource/IWritableResource- resource abstraction interfaces -
ClassPathResource/FileSystemResource/URLResource- resource implementations -
ReadableResourceString/ReadableResourceByteArray- in-memory resources -
GZIPReadableResource/GZIPWritableResource- GZIP-wrapped resources -
IReadableResourceProvider/IWritableResourceProvider- resource provider interfaces -
FileHelper/SimpleFileIO- file I/O utilities -
FileOperations/FileIOError- structured file operation handling -
FilenameHelper/PathHelper- filename and path manipulation -
FileSystemIterator/FileSystemRecursiveIterator- file system traversal -
StreamHelperExt/ChannelHelper- stream and NIO channel utilities -
FileRelativeIO/PathRelativeIO- relative path I/O
Add the following to your pom.xml to use this artifact:
<dependency>
<groupId>com.helger.commons</groupId>
<artifactId>ph-io</artifactId>
<version>x.y.z</version>
</dependency>