Package org.apache.commons.compress.archivers
Provides a unified API and factories for dealing with archives in different formats.
-
Interface Summary Interface Description ArchiveEntry Represents an entry of an archive.ArchiveStreamProvider Creates ArchiveArchiveInputStream
s andArchiveOutputStream
s.EntryStreamOffsets Provides information about ArchiveEntry stream offsets. -
Class Summary Class Description ArchiveInputStream Archive input streams MUST override theInputStream.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 Archive output stream implementations are expected to override theOutputStream.write(byte[], int, int)
method to improve performance.ArchiveStreamFactory Factory to create Archive[In|Out]putStreams from names or the first bytes of the InputStream.Lister Simple command line application that lists the contents of an archive. -
Exception Summary Exception Description ArchiveException Archiver related ExceptionStreamingNotSupportedException Exception thrown by ArchiveStreamFactory if a format is requested/detected that doesn't support streaming.