public class DeflatorFileDataEncoder extends Object implements FileDataEncoder
Constructor and Description |
---|
DeflatorFileDataEncoder(OutputStream outputStream,
int level) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
encode(byte[] outputBuffer,
int offset,
int length)
Encode a buffer bytes from a Zip-file.
|
public DeflatorFileDataEncoder(OutputStream outputStream, int level)
public void encode(byte[] outputBuffer, int offset, int length) throws IOException
FileDataEncoder
encode
in interface FileDataEncoder
outputBuffer
- Bytes to be encoded.offset
- Offset in the buffer of the bytes to be encoded.length
- Number of bytes to be encoded.IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
This documentation content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.