| 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.arj | Provides stream classes for reading archives using
      the ARJ format. | 
| org.apache.commons.compress.archivers.cpio | Provides stream classes for reading and writing archives using
      the CPIO 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.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.sevenz | Provides classes for reading and writing archives using
      the 7z format. | 
| 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. | 
| org.apache.commons.compress.utils | Contains utilities used internally by the compress library. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract ArchiveEntry | ArchiveOutputStream. createArchiveEntry(File inputFile,
                  String entryName)Create an archive entry using the inputFile and entryName provided. | 
| abstract ArchiveEntry | ArchiveInputStream. getNextEntry()Returns the next Archive Entry in this Stream. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | ArchiveInputStream. canReadEntryData(ArchiveEntry archiveEntry)Whether this stream is able to read the given entry. | 
| boolean | ArchiveOutputStream. canWriteEntryData(ArchiveEntry archiveEntry)Whether this stream is able to write the given entry. | 
| abstract void | ArchiveOutputStream. putArchiveEntry(ArchiveEntry entry)Writes the headers for an archive entry to the output stream. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ArArchiveEntryRepresents an archive entry in the "ar" format. | 
| Modifier and Type | Method and Description | 
|---|---|
| ArchiveEntry | ArArchiveOutputStream. createArchiveEntry(File inputFile,
                  String entryName) | 
| ArchiveEntry | ArArchiveInputStream. getNextEntry() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ArArchiveOutputStream. putArchiveEntry(ArchiveEntry pEntry) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ArjArchiveEntryAn entry in an ARJ archive. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | ArjArchiveInputStream. canReadEntryData(ArchiveEntry ae) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | CpioArchiveEntryA cpio archive consists of a sequence of files. | 
| Modifier and Type | Method and Description | 
|---|---|
| ArchiveEntry | CpioArchiveOutputStream. createArchiveEntry(File inputFile,
                  String entryName)Creates a new ArchiveEntry. | 
| ArchiveEntry | CpioArchiveInputStream. getNextEntry() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | CpioArchiveOutputStream. putArchiveEntry(ArchiveEntry entry)Begins writing a new CPIO file entry and positions the stream to the
 start of the entry data. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DumpArchiveEntryThis class represents an entry in a Dump archive. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | JarArchiveEntry | 
| Modifier and Type | Method and Description | 
|---|---|
| ArchiveEntry | JarArchiveInputStream. getNextEntry() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | JarArchiveOutputStream. putArchiveEntry(ArchiveEntry ze) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SevenZArchiveEntryAn entry in a 7z archive. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SevenZOutputFile. putArchiveEntry(ArchiveEntry archiveEntry)Records an archive entry to add. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | TarArchiveEntryThis class represents an entry in a Tar archive. | 
| Modifier and Type | Method and Description | 
|---|---|
| ArchiveEntry | TarArchiveOutputStream. createArchiveEntry(File inputFile,
                  String entryName) | 
| ArchiveEntry | TarArchiveInputStream. getNextEntry()Returns the next Archive Entry in this Stream. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | TarArchiveInputStream. canReadEntryData(ArchiveEntry ae)Whether this class is able to read the given entry. | 
| void | TarArchiveOutputStream. putArchiveEntry(ArchiveEntry archiveEntry)Put an entry on the output stream. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ZipArchiveEntryExtension that adds better handling of extra fields and provides
 access to the internal and external file attributes. | 
| Modifier and Type | Method and Description | 
|---|---|
| ArchiveEntry | ZipArchiveOutputStream. createArchiveEntry(File inputFile,
                  String entryName)Creates a new zip entry taking some information from the given
 file and using the provided name. | 
| ArchiveEntry | ZipArchiveInputStream. getNextEntry() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | ZipArchiveInputStream. canReadEntryData(ArchiveEntry ae)Whether this class is able to read the given entry. | 
| boolean | ZipArchiveOutputStream. canWriteEntryData(ArchiveEntry ae)Whether this stream is able to write the given entry. | 
| void | ZipArchiveOutputStream. putArchiveEntry(ArchiveEntry archiveEntry)Writes the headers for an archive entry to the output stream. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ChangeSet. add(ArchiveEntry pEntry,
   InputStream pInput)Adds a new archive entry to the archive. | 
| void | ChangeSet. add(ArchiveEntry pEntry,
   InputStream pInput,
   boolean replace)Adds a new archive entry to the archive. | 
| Modifier and Type | Method and Description | 
|---|---|
| static String | ArchiveUtils. toString(ArchiveEntry entry)Generates a string containing the name, isDirectory setting and size of an entry. | 
Copyright © 2018 The Apache Software Foundation. All rights reserved.