com.caucho.quercus.lib.zip
Class ZipDirectory

java.lang.Object
  extended by com.caucho.quercus.lib.zip.ZipDirectory

public class ZipDirectory
extends java.lang.Object

Reads the zip header and prepares zip entries.


Constructor Summary
ZipDirectory(BinaryInput in)
           
 
Method Summary
protected  void closeEntry()
          Positions stream to beginning of next entry
protected  java.util.zip.ZipEntry readEntry()
          Reads the next entry's metadata from the current stream position.
 java.lang.String toString()
           
 boolean zip_close()
           
 QuercusZipEntry zip_read()
          Closes the previous entry and returns the next entry's metadata.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ZipDirectory

public ZipDirectory(BinaryInput in)
Method Detail

zip_read

public QuercusZipEntry zip_read()
                         throws java.io.IOException
Closes the previous entry and returns the next entry's metadata.

Throws:
java.io.IOException

readEntry

protected java.util.zip.ZipEntry readEntry()
                                    throws java.io.IOException
Reads the next entry's metadata from the current stream position.

Throws:
java.io.IOException

closeEntry

protected void closeEntry()
                   throws java.io.IOException
Positions stream to beginning of next entry

Throws:
java.io.IOException

zip_close

public boolean zip_close()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object