Module kala.compress.base
Package kala.compress.archivers
Provides a unified API and factories for dealing with archives in different formats.
-
Interface Summary Interface Description ArchiveEntry An entry of an archive.ArchiveStreamProvider Creates ArchiveArchiveInputStreams andArchiveOutputStreams.EntryStreamOffsets Provides information about ArchiveEntry stream offsets. -
Class Summary Class Description ArchiveInputStream<E extends ArchiveEntry> Archive input streams MUST override theFilterInputStream.read(byte[], int, int)- orArchiveInputStream.read()- method so that reading from the stream generates EOF for the end of data in each entry as well as at the end of the file proper.ArchiveOutputStream<E extends ArchiveEntry> Archive output stream implementations are expected to override theFilterOutputStream.write(byte[], int, int)method to improve performance.ArchiveReaderBuilder<R,B extends ArchiveReaderBuilder<R,B>> ArchiveStreamFactory Creates an Archive[In|Out]putStreams from names or the first bytes of the InputStream.ArchiveStreamFactory.BuiltinArchiver This is an internal class and should not be used directly. -
Exception Summary Exception Description ArchiveException Signals that an Archive exception of some sort has occurred.StreamingNotSupportedException Exception thrown by ArchiveStreamFactory if a format is requested/detected that doesn't support streaming.