com.jcraft.jzlib
Class ZInputStream
FilterInputStream
com.jcraft.jzlib.ZInputStream
public class ZInputStream
extends FilterInputStream
buf1
protected byte[] buf1
bufsize
protected int bufsize
compress
protected boolean compress
in
protected InputStream in
ZInputStream
public ZInputStream(InputStream in)
ZInputStream
public ZInputStream(InputStream in,
boolean nowrap)
ZInputStream
public ZInputStream(InputStream in,
int level)
close
public void close()
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.
read
public int read()
throws IOException
read
public int read(byte[] b,
int off,
int len)
throws IOException
setFlushMode
public void setFlushMode(int flush)
skip
public long skip(long n)
throws IOException