Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

Utilities.unzipFile

Extracts the files contained in a zip file into a specified folder. .

Syntax

Parameters

zip
The path and name of the file to unzip.

destination
The directory where the extracted files are to be stored.

Returns

Returns zero (0) on success, or error code on error.

Description

Call unzipFile to extract the specified zip file into the specified destination directory. The unzipFile method automatically calls osSafeSpec prior to performing the extraction. Prior to calling unzipFile, your code should first call validateZip.

Example

See the example for validateZip .

See Also

osSafeSpec , validateZip

 

  Home > Contents > Index >

FatWire JAVA Reference
Copyright 2005 by FatWire Software
All rights reserved.