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 FilterOutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class FilterOutputStream
IOException
public void finish() throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterOutputStream
IOException
Copyright © 1995-2015 Webtide. All Rights Reserved.