public class GzipCompressor extends DeflateCompressor
Constructor and Description |
---|
GzipCompressor() |
Modifier and Type | Method and Description |
---|---|
protected ByteString |
compressWithBuffer(ByteString input,
byte[] buffer) |
protected java.util.zip.Deflater |
deflater() |
protected ByteString |
finishWithBuffer(byte[] buffer) |
protected ByteString |
flushWithBuffer(byte[] buffer) |
close, compress, compressAndFinish, compressAndFlush, drainDeflater, finish, flush, MinBufferSize
protected java.util.zip.Deflater deflater()
deflater
in class DeflateCompressor
protected ByteString compressWithBuffer(ByteString input, byte[] buffer)
compressWithBuffer
in class DeflateCompressor
protected ByteString flushWithBuffer(byte[] buffer)
flushWithBuffer
in class DeflateCompressor
protected ByteString finishWithBuffer(byte[] buffer)
finishWithBuffer
in class DeflateCompressor