public class DeflateCompressor extends java.lang.Object implements Compressor
Compressor implementation based on the DEFLATE compression algorithm.| Constructor and Description |
|---|
DeflateCompressor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCompressed(BytesReference bytes) |
StreamInput |
streamInput(StreamInput in) |
StreamOutput |
streamOutput(StreamOutput out) |
public boolean isCompressed(BytesReference bytes)
isCompressed in interface Compressorpublic StreamInput streamInput(StreamInput in) throws java.io.IOException
streamInput in interface Compressorjava.io.IOExceptionpublic StreamOutput streamOutput(StreamOutput out) throws java.io.IOException
streamOutput in interface Compressorjava.io.IOException