# 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
  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
  Represents an entry of an archive.
  ArchiveException
  Archiver related Exception
  ArchiveInputStream
  Archive input streams MUST override the `InputStream.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
  Archive output stream implementations are expected to override the `OutputStream.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.