Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

ClassLib.Common.java.util.zip
Class InflaterInputStreamWrapper  view InflaterInputStreamWrapper download InflaterInputStreamWrapper.java

java.lang.Object
  extended byjava.io.InputStream
      extended byjava.io.FilterInputStream
          extended byjava.util.zip.InflaterInputStream
              extended byClassLib.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 $

Field Summary
private  boolean eof
           
private  boolean isClosed
           
private  ZipFile zf
           
 
Fields inherited from class java.util.zip.InflaterInputStream
buf, inf, len
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
InflaterInputStreamWrapper(ZipFile zf, java.io.InputStream in, java.util.zip.Inflater inflater)
           
 
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.util.zip.InflaterInputStream
mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.io.FilterInputStream
read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isClosed

private boolean isClosed

eof

private boolean eof

zf

private final ZipFile zf
Constructor Detail

InflaterInputStreamWrapper

public InflaterInputStreamWrapper(ZipFile zf,
                                  java.io.InputStream in,
                                  java.util.zip.Inflater inflater)
Method Detail

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.