private static final class StreamCompressor.SeekableByteChannelCompressor extends StreamCompressor
| Modifier and Type | Field and Description |
|---|---|
private java.nio.channels.SeekableByteChannel |
channel |
| Constructor and Description |
|---|
SeekableByteChannelCompressor(java.util.zip.Deflater deflater,
java.nio.channels.SeekableByteChannel channel) |
| 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, writeCountedpublic SeekableByteChannelCompressor(java.util.zip.Deflater deflater,
java.nio.channels.SeekableByteChannel channel)
protected final void writeOut(byte[] data,
int offset,
int length)
throws java.io.IOException
writeOut in class StreamCompressorjava.io.IOException