java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.util.zip.InflaterInputStream
ClassLib.Common.java.util.zip.InflaterInputStreamWrapper
- All Implemented Interfaces:
- java.io.Closeable
- public class InflaterInputStreamWrapper
- extends java.util.zip.InflaterInputStream
InflaterInputStreamWrapper
- Version:
- $Id: InflaterInputStreamWrapper.java,v 1.5 2003/05/12 10:04:53 joewhaley Exp $
Method Summary |
int |
available()
Returns 0 once the end of the stream (EOF) has been reached. |
void |
close()
Closes the input stream |
protected void |
fill()
Fills the buffer with more data to decompress. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isClosed
private boolean isClosed
eof
private boolean eof
zf
private final ZipFile zf
InflaterInputStreamWrapper
public InflaterInputStreamWrapper(ZipFile zf,
java.io.InputStream in,
java.util.zip.Inflater inflater)
close
public void close()
throws java.io.IOException
- Description copied from class:
java.util.zip.InflaterInputStream
- Closes the input stream
fill
protected void fill()
throws java.io.IOException
- Description copied from class:
java.util.zip.InflaterInputStream
- Fills the buffer with more data to decompress.
available
public int available()
throws java.io.IOException
- Description copied from class:
java.util.zip.InflaterInputStream
- Returns 0 once the end of the stream (EOF) has been reached.
Otherwise returns 1.