Top Description Interfaces Classes
[default module]

Package org.apache.commons.compress.archivers


Provides a unified API and factories for dealing with archives in different formats.

Interface Summary

Modifier and TypeInterface and Description
public interface
ArchiveEntry

An entry of an archive.

public interface
public interface
EntryStreamOffsets

Provides information about ArchiveEntry stream offsets.

Class Summary

Modifier and TypeClass and Description
public class
ArchiveException

Archiver related Exception.

public abstract class
ArchiveInputStream<
The type of ArchiveEntry produced.
E extends ArchiveEntry
>

Archive input streams MUST override the read(byte[], int, int) - or 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.

public abstract class
ArchiveOutputStream<
The type of ArchiveEntry consumed.
E extends ArchiveEntry
>

Archive output stream implementations are expected to override the write(byte[], int, int) method to improve performance.

public class
ArchiveStreamFactory

Factory to create Archive[In|Out]putStreams from names or the first bytes of the InputStream.

public class
Lister

Simple command line application that lists the contents of an archive.

public class
StreamingNotSupportedException

Exception thrown by ArchiveStreamFactory if a format is requested/detected that doesn't support streaming.