public class DeflatedOutputStream extends FilterOutputStream
DeflaterOutputStream that supports reusing the buffer.| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
_buf |
protected Deflater |
_def |
protected boolean |
closed |
out| Constructor and Description |
|---|
DeflatedOutputStream(OutputStream out,
Deflater deflater,
byte[] buffer) |
protected final Deflater _def
protected final byte[] _buf
protected boolean closed
public DeflatedOutputStream(OutputStream out, Deflater deflater, byte[] buffer)
public void write(int b)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void finish()
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterOutputStreamIOExceptionCopyright © 1995-2015 Webtide. All Rights Reserved.