ZipFile.ZipFile
Class Overview | Class Members |
This Package |
All Packages
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
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