| Package | Description | 
|---|---|
| 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.snappy | Provides stream classes for the
      Snappy
      algorithm. | 
| Constructor and Description | 
|---|
| BlockLZ4CompressorOutputStream(OutputStream os,
                              Parameters params)Creates a new LZ4 output stream. | 
| Parameters(FramedLZ4CompressorOutputStream.BlockSize blockSize,
          boolean withContentChecksum,
          boolean withBlockChecksum,
          boolean withBlockDependency,
          Parameters lz77params)Sets up custom parameters for the LZ4 stream. | 
| Parameters(FramedLZ4CompressorOutputStream.BlockSize blockSize,
          Parameters lz77params)Sets up custom a custom block size for the LZ4 stream but
 otherwise uses the defaults of enabled content checksum,
 disabled block checksums and independent blocks. | 
| Modifier and Type | Method and Description | 
|---|---|
| Parameters | Parameters.Builder. build()Creates the  Parametersinstance. | 
| Constructor and Description | 
|---|
| LZ77Compressor(Parameters params,
              LZ77Compressor.Callback callback)Initializes a compressor with parameters and a callback. | 
| Constructor and Description | 
|---|
| FramedSnappyCompressorOutputStream(OutputStream out,
                                  Parameters params)Constructs a new output stream that compresses
 snappy-framed-compressed data to the specified output stream. | 
| SnappyCompressorOutputStream(OutputStream os,
                            long uncompressedSize,
                            Parameters params)Constructor providing full control over the underlying LZ77 compressor. | 
Copyright © 2018 The Apache Software Foundation. All rights reserved.