| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Parameters.Builder | BlockLZ4CompressorOutputStream. createParameterBuilder()Returns a builder correctly configured for the LZ4 algorithm. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Parameters.Builder | Parameters. builder(int windowSize)Initializes the builder for the compressor's parameters with a
  minBackReferenceLengthof 3 andmax*Lengthequal towindowSize - 1. | 
| Parameters.Builder | Parameters.Builder. tunedForCompressionRatio()Changes the default setting for "nice back-reference length" and "maximum number of candidates" for improved
 compression ratio at the cost of compression speed. | 
| Parameters.Builder | Parameters.Builder. tunedForSpeed()Changes the default setting for "nice back-reference length" and "maximum number of candidates" for improved
 compression speed at the cost of compression ratio. | 
| Parameters.Builder | Parameters.Builder. withLazyMatching(boolean lazy)Sets whether lazy matching should be performed. | 
| Parameters.Builder | Parameters.Builder. withLazyThreshold(int threshold)Sets the threshold for lazy matching. | 
| Parameters.Builder | Parameters.Builder. withMaxBackReferenceLength(int maxBackReferenceLength)Sets the maximal length of a back-reference. | 
| Parameters.Builder | Parameters.Builder. withMaxLiteralLength(int maxLiteralLength)Sets the maximal length of a literal block. | 
| Parameters.Builder | Parameters.Builder. withMaxNumberOfCandidates(int maxCandidates)Sets the maximum number of back-reference candidates that should be consulted. | 
| Parameters.Builder | Parameters.Builder. withMaxOffset(int maxOffset)Sets the maximal offset of a back-reference. | 
| Parameters.Builder | Parameters.Builder. withMinBackReferenceLength(int minBackReferenceLength)Sets the mininal length of a back-reference. | 
| Parameters.Builder | Parameters.Builder. withNiceBackReferenceLength(int niceLen)Sets the "nice length" of a back-reference. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Parameters.Builder | SnappyCompressorOutputStream. createParameterBuilder(int blockSize)Returns a builder correctly configured for the Snappy algorithm using the gven block size. | 
Copyright © 2018 The Apache Software Foundation. All rights reserved.