ZipFile.ZipFile

ZipFile.ZipFile

Class Overview | Class Members | This Package | All Packages

Syntax 1
public ZipFile( String name ) throws IOException
Parameters
name
the name of the zip file
Description
Opens a ZIP file for reading given the specified file name.

Exceptions
ZipException if a ZIP format error has occurred
Exceptions
IOException if an I/O error has occurred



Syntax 2
public ZipFile( File file ) throws ZipException, IOException
Parameters
file
the ZIP file to be opened for reading
Description
Opens a ZIP file for reading given the specified File object.

Exceptions
ZipException if a ZIP error has occurred
Exceptions
IOException if an I/O error has occurred