org.apache.hadoop.io.compress.bzip2 (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.io.compress.bzip2

# Package org.apache.hadoop.io.compress.bzip2

@Private @Unstable package org.apache.hadoop.io.compress.bzip2
Implementation of compression/decompression for the BZip2 compression algorithm.

- Related Packages
  Package
  Description
  org.apache.hadoop.io.compress
  org.apache.hadoop.io.compress.lz4
  Implementation of compression/decompression for the LZ4 compression algorithm.
  org.apache.hadoop.io.compress.snappy
  Implementation of compression/decompression for the Snappy compression algorithm.
  org.apache.hadoop.io.compress.zlib
  Implementation of compression/decompression based on the popular gzip compressed file format.
  org.apache.hadoop.io.compress.zstd
  Implementation of compression/decompression based on the zStandard compression algorithm.
- Class
  Description
  Bzip2Compressor
  A `Compressor` based on the popular bzip2 compression algorithm.
  BZip2Constants
  Base class for both the compress and decompress classes.
  Bzip2Decompressor
  A `Decompressor` based on the popular bzip2 compression algorithm.
  BZip2DummyCompressor
  This is a dummy compressor for BZip2.
  BZip2DummyDecompressor
  This is a dummy decompressor for BZip2.
  Bzip2Factory
  A collection of factories to create the right bzip2 compressor/decompressor instances.
  CBZip2InputStream
  An input stream that decompresses from the BZip2 format (without the file header chars) to be read as any other stream.
  CBZip2InputStream.STATE
  A state machine to keep track of current state of the de-coder
  CBZip2OutputStream
  An output stream that compresses into the BZip2 format (without the file header chars) into another stream.