# Package org.apache.commons.compress.archivers

package org.apache.commons.compress.archivers
Provides a unified API and factories for dealing with archives in different formats.

- Related Packages
  Package
  Description
  org.apache.commons.compress
  Apache Commons Compress.
  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.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.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.
- Class
  Description
  ArchiveEntry
  An entry of an archive.
  ArchiveException
  Archiver related Exception.
  ArchiveInputStream<E extends ArchiveEntry>
  Archive input streams MUST override the `FilterInputStream.read(byte[], int, int)` - or `ArchiveInputStream.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<E extends ArchiveEntry>
  Archive output stream implementations are expected to override the `FilterOutputStream.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.
  ArchiveStreamProvider
  Creates Archive `ArchiveInputStream`s and `ArchiveOutputStream`s.
  EntryStreamOffsets
  Provides information about ArchiveEntry stream offsets.
  Lister
  Simple command line application that lists the contents of an archive.
  StreamingNotSupportedException
  Exception thrown by ArchiveStreamFactory if a format is requested/detected that doesn't support streaming.