Class StreamCompressor.SeekableByteChannelCompressor
- java.lang.Object
-
- org.apache.commons.compress.archivers.zip.StreamCompressor
-
- org.apache.commons.compress.archivers.zip.StreamCompressor.SeekableByteChannelCompressor
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
- Enclosing class:
- StreamCompressor
private static final class StreamCompressor.SeekableByteChannelCompressor extends StreamCompressor
-
-
Field Summary
Fields Modifier and Type Field Description private java.nio.channels.SeekableByteChannel
channel
-
Constructor Summary
Constructors Constructor Description SeekableByteChannelCompressor(java.util.zip.Deflater deflater, java.nio.channels.SeekableByteChannel channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
writeOut(byte[] data, int offset, int length)
-
Methods inherited from class org.apache.commons.compress.archivers.zip.StreamCompressor
close, create, create, create, create, create, create, deflate, deflate, flushDeflater, getBytesRead, getBytesWrittenForLastEntry, getCrc32, getTotalBytesWritten, reset, write, writeCounted, writeCounted
-
-
-
-
Method Detail
-
writeOut
protected final void writeOut(byte[] data, int offset, int length) throws java.io.IOException
- Specified by:
writeOut
in classStreamCompressor
- Throws:
java.io.IOException
-
-