Uses of Class
org.apache.commons.compress.compressors.lz77support.Parameters.Builder
Package
Description
Provides stream classes for the LZ4 algorithm.
Provides utility classes for LZ77 based algorithms.
Provides stream classes for the Snappy algorithm.
-
Uses of Parameters.Builder in org.apache.commons.compress.compressors.lz4
Modifier and TypeMethodDescriptionstatic Parameters.Builder
BlockLZ4CompressorOutputStream.createParameterBuilder()
Returns a builder correctly configured for the LZ4 algorithm. -
Uses of Parameters.Builder in org.apache.commons.compress.compressors.lz77support
Modifier and TypeMethodDescriptionstatic Parameters.Builder
Parameters.builder
(int windowSize) Initializes the builder for the compressor's parameters with aminBackReferenceLength
of 3 andmax*Length
equal towindowSize - 1
.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.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.withLazyMatching
(boolean lazy) Sets whether lazy matching should be performed.Parameters.Builder.withLazyThreshold
(int threshold) Sets the threshold for lazy matching.Parameters.Builder.withMaxBackReferenceLength
(int maxBackReferenceLength) Sets the maximal length of a back-reference.Parameters.Builder.withMaxLiteralLength
(int maxLiteralLength) Sets the maximal length of a literal block.Parameters.Builder.withMaxNumberOfCandidates
(int maxCandidates) Sets the maximum number of back-reference candidates that should be consulted.Parameters.Builder.withMaxOffset
(int maxOffset) Sets the maximal offset of a back-reference.Parameters.Builder.withMinBackReferenceLength
(int minBackReferenceLength) Sets the minimal length of a back-reference.Parameters.Builder.withNiceBackReferenceLength
(int niceLen) Sets the "nice length" of a back-reference. -
Uses of Parameters.Builder in org.apache.commons.compress.compressors.snappy
Modifier and TypeMethodDescriptionstatic Parameters.Builder
SnappyCompressorOutputStream.createParameterBuilder
(int blockSize) Returns a builder correctly configured for the Snappy algorithm using the gven block size.