private static final class StreamCompressor.OutputStreamCompressor extends StreamCompressor
Modifier and Type | Field and Description |
---|---|
private java.io.OutputStream |
os |
Constructor and Description |
---|
OutputStreamCompressor(java.util.zip.Deflater deflater,
java.io.OutputStream os) |
Modifier and Type | Method and Description |
---|---|
protected void |
writeOut(byte[] data,
int offset,
int length) |
close, create, create, create, create, create, create, deflate, deflate, flushDeflater, getBytesRead, getBytesWrittenForLastEntry, getCrc32, getTotalBytesWritten, reset, write, writeCounted, writeCounted
public OutputStreamCompressor(java.util.zip.Deflater deflater, java.io.OutputStream os)
protected final void writeOut(byte[] data, int offset, int length) throws java.io.IOException
writeOut
in class StreamCompressor
java.io.IOException