| Package | Description | 
|---|---|
| org.apache.commons.compress.archivers | Provides a unified API and factories for dealing with archives
      in different formats. | 
| org.apache.commons.compress.archivers.arj | Provides stream classes for reading archives using
      the ARJ format. | 
| org.apache.commons.compress.archivers.dump | This package provides stream classes for reading archives
      using the Unix DUMP format. | 
| org.apache.commons.compress.archivers.examples | Contains example code that is not guaranteed to provide a
      stable API across releases of Commons Compress. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | StreamingNotSupportedExceptionException thrown by ArchiveStreamFactory if a format is requested/detected that doesn't support streaming. | 
| Modifier and Type | Method and Description | 
|---|---|
| ArchiveInputStream | ArchiveStreamFactory. createArchiveInputStream(InputStream in)Create an archive input stream from an input stream, autodetecting
 the archive type from the first few bytes of the stream. | 
| ArchiveInputStream | ArchiveStreamFactory. createArchiveInputStream(String archiverName,
                        InputStream in)Creates an archive input stream from an archiver name and an input stream. | 
| ArchiveInputStream | ArchiveStreamFactory. createArchiveInputStream(String archiverName,
                        InputStream in,
                        String actualEncoding) | 
| ArchiveInputStream | ArchiveStreamProvider. createArchiveInputStream(String name,
                        InputStream in,
                        String encoding)Creates an archive input stream from an archiver name and an input
 stream. | 
| ArchiveOutputStream | ArchiveStreamFactory. createArchiveOutputStream(String archiverName,
                         OutputStream out)Creates an archive output stream from an archiver name and an output stream. | 
| ArchiveOutputStream | ArchiveStreamFactory. createArchiveOutputStream(String archiverName,
                         OutputStream out,
                         String actualEncoding) | 
| ArchiveOutputStream | ArchiveStreamProvider. createArchiveOutputStream(String name,
                         OutputStream out,
                         String encoding)Creates an archive output stream from an archiver name and an output
 stream. | 
| static String | ArchiveStreamFactory. detect(InputStream in)Try to determine the type of Archiver | 
| Constructor and Description | 
|---|
| ArjArchiveInputStream(InputStream inputStream)Constructs the ArjInputStream, taking ownership of the inputStream that is passed in,
 and using the CP437 character encoding. | 
| ArjArchiveInputStream(InputStream inputStream,
                     String charsetName)Constructs the ArjInputStream, taking ownership of the inputStream that is passed in. | 
| Constructor and Description | 
|---|
| DumpArchiveInputStream(InputStream is)Constructor using the platform's default encoding for file
 names. | 
| DumpArchiveInputStream(InputStream is,
                      String encoding)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Archiver. create(ArchiveOutputStream target,
      File directory)Creates an archive  targetby recursively including all
 files and directories indirectory. | 
| void | Archiver. create(String format,
      File target,
      File directory)Creates an archive  targetusing the formatformatby recursively including all files and directories indirectory. | 
| void | Archiver. create(String format,
      OutputStream target,
      File directory)Creates an archive  targetusing the formatformatby recursively including all files and directories indirectory. | 
| void | Archiver. create(String format,
      SeekableByteChannel target,
      File directory)Creates an archive  targetusing the formatformatby recursively including all files and directories indirectory. | 
| void | Expander. expand(ArchiveInputStream archive,
      File targetDirectory)Expands  archiveintotargetDirectory. | 
| void | Expander. expand(File archive,
      File targetDirectory)Expands  archiveintotargetDirectory. | 
| void | Expander. expand(InputStream archive,
      File targetDirectory)Expands  archiveintotargetDirectory. | 
| void | Expander. expand(SevenZFile archive,
      File targetDirectory)Expands  archiveintotargetDirectory. | 
| void | Expander. expand(String format,
      File archive,
      File targetDirectory)Expands  archiveintotargetDirectory. | 
| void | Expander. expand(String format,
      InputStream archive,
      File targetDirectory)Expands  archiveintotargetDirectory. | 
| void | Expander. expand(String format,
      SeekableByteChannel archive,
      File targetDirectory)Expands  archiveintotargetDirectory. | 
| void | Expander. expand(ZipFile archive,
      File targetDirectory)Expands  archiveintotargetDirectory. | 
Copyright © 2018 The Apache Software Foundation. All rights reserved.