Top Description Classes Enums
[default module]

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

Modifier and TypeClass and Description
public class
FramedSnappyCompressorInputStream

CompressorInputStream for the framing Snappy format.

public class
FramedSnappyCompressorOutputStream

CompressorOutputStream for the framing Snappy format.

public class
SnappyCompressorInputStream

CompressorInputStream for the raw Snappy format.

public class
SnappyCompressorOutputStream

CompressorOutputStream for the raw Snappy format.

Enum Summary

Modifier and TypeEnum and Description
public enum
FramedSnappyDialect

Dialects of the framing format that FramedSnappyCompressorInputStream can deal with.