# Package org.apache.commons.compress.compressors

package org.apache.commons.compress.compressors
Provides a unified API and factories for dealing with compressed streams.

- Related Packages
  Package
  Description
  org.apache.commons.compress
  Apache Commons Compress.
  org.apache.commons.compress.compressors.brotli
  Provides stream class for decompressing streams using the Brotli algorithm based on Google's Brotli decoder.
  org.apache.commons.compress.compressors.bzip2
  Provides stream classes for compressing and decompressing streams using the BZip2 algorithm.
  org.apache.commons.compress.compressors.deflate
  Provides a stream classes that allow (de)compressing streams using the DEFLATE algorithm.
  org.apache.commons.compress.compressors.deflate64
  Provides a stream that allows decompressing streams using the DEFLATE64(tm) algorithm.
  org.apache.commons.compress.compressors.gzip
  Provides stream classes for compressing and decompressing streams using the GZip algorithm.
  org.apache.commons.compress.compressors.lz4
  Provides stream classes for the LZ4 algorithm.
  org.apache.commons.compress.compressors.lz77support
  Provides utility classes for LZ77 based algorithms.
  org.apache.commons.compress.compressors.lzma
  Provides stream classes using the "stand-alone" LZMA algorithm.
  org.apache.commons.compress.compressors.lzw
  Generic LZW implementation.
  org.apache.commons.compress.compressors.pack200
  Provides stream classes for compressing and decompressing streams using the Pack200 algorithm used to compress Java archives.
  org.apache.commons.compress.compressors.snappy
  Provides stream classes for the Snappy algorithm.
  org.apache.commons.compress.compressors.xz
  Provides stream classes for compressing and decompressing streams using the XZ algorithm.
  org.apache.commons.compress.compressors.z
  Provides stream classes for decompressing streams using the "compress" algorithm used to write .Z files.
  org.apache.commons.compress.compressors.zstandard
  Provides stream class for (de)compressing streams using the Zstandard algorithm based on Zstandard JNI.
- Class
  Description
  CompressorException
  Compressor related exception
  CompressorInputStream
  CompressorOutputStream<T extends OutputStream>
  Abstracts all classes that compress an output stream.
  CompressorStreamFactory
  Factory to create Compressor[In|Out]putStreams from names.
  CompressorStreamProvider
  Creates Compressor `CompressorInputStream`s and `CompressorOutputStream`s.
  FileNameUtil
  File name mapping code for the compression formats.