| 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.ar | Provides stream classes for reading and writing archives using
      the AR format. | 
| org.apache.commons.compress.archivers.cpio | Provides stream classes for reading and writing archives using
      the CPIO format. | 
| org.apache.commons.compress.archivers.examples | Contains example code that is not guaranteed to provide a
      stable API across releases of Commons Compress. | 
| org.apache.commons.compress.archivers.jar | Provides stream classes for reading and writing archives using
      the ZIP format with some extensions for the special case of JAR
      archives. | 
| org.apache.commons.compress.archivers.tar | Provides stream classes for reading and writing archives using
      the TAR format. | 
| org.apache.commons.compress.archivers.zip | Provides stream classes for reading and writing archives using
      the ZIP format. | 
| org.apache.commons.compress.changes | EXPERIMENTAL support for changesets that are applied to
      archives. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ArArchiveOutputStreamImplements the "ar" archive format as an output stream. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | CpioArchiveOutputStreamCpioArchiveOutputStream is a stream for writing CPIO streams. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Archiver. create(ArchiveOutputStream target,
      File directory)Creates an archive  targetby recursively including all
 files and directories indirectory. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | JarArchiveOutputStreamSubclass that adds a special extra field to the very first entry
 which allows the created archive to be used as an executable jar on
 Solaris. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | TarArchiveOutputStreamThe TarOutputStream writes a UNIX tar archive as an OutputStream. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ZipArchiveOutputStreamReimplementation of  java.util.zip.ZipOutputStreamthat does handle the extended
 functionality of this package, especially internal/external file
 attributes and extra fields with different layouts for local file
 data and central directory entries. | 
| Modifier and Type | Method and Description | 
|---|---|
| ChangeSetResults | ChangeSetPerformer. perform(ArchiveInputStream in,
       ArchiveOutputStream out)Performs all changes collected in this ChangeSet on the input stream and
 streams the result to the output stream. | 
| ChangeSetResults | ChangeSetPerformer. perform(ZipFile in,
       ArchiveOutputStream out)Performs all changes collected in this ChangeSet on the ZipFile and
 streams the result to the output stream. | 
Copyright © 2018 The Apache Software Foundation. All rights reserved.