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
.
-
Class Summary Class Description FramedSnappyCompressorInputStream CompressorInputStream for the framing Snappy format.FramedSnappyCompressorOutputStream CompressorOutputStream for the framing Snappy format.SnappyCompressorInputStream CompressorInputStream for the raw Snappy format.SnappyCompressorOutputStream CompressorOutputStream for the raw Snappy format. -
Enum Summary Enum Description FramedSnappyDialect Dialects of the framing format thatFramedSnappyCompressorInputStream
can deal with.