Package org.apache.commons.compress.compressors.snappy
package org.apache.commons.compress.compressors.snappy
Provides stream classes for the Snappy algorithm.
The raw Snappy format which only contains the compressed data is supported by the SnappyCompressor*putStream
classes while the so called
"framing format" is implemented by FramedSnappyCompressor*putStream
. Note there have been different versions of the framing format
specification, the implementation in Commons Compress is based on the specification "Last revised: 2013-10-25".
Only the "framing format" can be auto-detected this means you have to speficy the format explicitly if you want to read a "raw" Snappy stream via
CompressorStreamFactory
.
-
ClassDescriptionCompressorInputStream for the framing Snappy format.CompressorOutputStream for the framing Snappy format.Enumerates dialects of the framing format that
FramedSnappyCompressorInputStream
can deal with.CompressorInputStream for the raw Snappy format.CompressorOutputStream for the raw Snappy format.