ZipFile Members

ZipFile Members

Class Overview | This Package | All Packages

Constructors
Name Description
ZipFile(File) Opens a ZIP file for reading given the specified File object.
ZipFile(String) Opens a ZIP file for reading given the specified file name.

Methods
Name Description
close() Closes the ZIP file.
entries() Returns an enumeration of the ZIP file entries.
getEntry(String) Returns the ZIP file entry for the given path name.
getInputStream(ZipEntry) Returns an input stream for reading the contents of the specified ZIP file entry.
getName() Returns the path name of the ZIP file.