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 Compressor
public StreamInput streamInput(StreamInput in) throws java.io.IOException
streamInput
in interface Compressor
java.io.IOException
public StreamOutput streamOutput(StreamOutput out) throws java.io.IOException
streamOutput
in interface Compressor
java.io.IOException