com.jcraft.jzlib
Class ZOutputStream
OutputStream
com.jcraft.jzlib.ZOutputStream
public class ZOutputStream
extends OutputStream
bufsize
protected int bufsize
compress
protected boolean compress
ZOutputStream
public ZOutputStream(OutputStream out)
ZOutputStream
public ZOutputStream(OutputStream out,
int level)
close
public void close()
throws IOException
end
public void end()
throws IOException
finish
public void finish()
throws IOException
flush
public void flush()
throws IOException
getFlushMode
public int getFlushMode()
getTotalIn
public long getTotalIn()
Returns the total number of bytes input so far.
getTotalOut
public long getTotalOut()
Returns the total number of bytes output so far.
setFlushMode
public void setFlushMode(int flush)
write
public void write(b[] ,
int off,
int len)
throws IOException
write
public void write(int b)
throws IOException