com.jcraft.jzlib
Class ZOutputStream
OutputStream
com.jcraft.jzlib.ZOutputStream
public class ZOutputStream
extends OutputStream
buf1
protected byte[] buf1
bufsize
protected int bufsize
compress
protected boolean compress
out
protected OutputStream out
ZOutputStream
public ZOutputStream(OutputStream out)
ZOutputStream
public ZOutputStream(OutputStream out,
int level)
ZOutputStream
public ZOutputStream(OutputStream out,
int level,
boolean nowrap)
close
public void close()
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