net.ssh.jzlib
Class ZInputStream
java.lang.Object
   java.io.InputStream
java.io.InputStream
       java.io.FilterInputStream
java.io.FilterInputStream
           net.ssh.jzlib.ZInputStream
net.ssh.jzlib.ZInputStream
- All Implemented Interfaces: 
- java.io.Closeable
- public class ZInputStream 
- extends java.io.FilterInputStream
 
 
| Methods inherited from class java.io.FilterInputStream | 
| available, mark, markSupported, read, reset | 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ZInputStream
public ZInputStream(java.io.InputStream in)
ZInputStream
public ZInputStream(java.io.InputStream in,
                    int level)
read
public int read()
         throws java.io.IOException
- 
- Overrides:
- readin class- java.io.FilterInputStream
 
- 
- Throws:
- java.io.IOException
 
read
public int read(byte[] b,
                int off,
                int len)
         throws java.io.IOException
- 
- Overrides:
- readin class- java.io.FilterInputStream
 
- 
- Throws:
- java.io.IOException
 
skip
public long skip(long n)
          throws java.io.IOException
- 
- Overrides:
- skipin class- java.io.FilterInputStream
 
- 
- Throws:
- java.io.IOException
 
getFlushMode
public int getFlushMode()
- 
 
setFlushMode
public void setFlushMode(int flush)
- 
 
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.
 
- 
 
close
public void close()
           throws java.io.IOException
- 
- Specified by:
- closein interface- java.io.Closeable
- Overrides:
- closein class- java.io.FilterInputStream
 
- 
- Throws:
- java.io.IOException