zip Class Reference
Description
Zip compression functions
Inner Classes
- class
- Asynchronous variants of the zip compression API. More...
Static Functions
- Array extract( String path, String destination, String pattern, String password)
- Extracts a zip archive synchronously and returns the extracted files. More...
Functions
- Array zip.extract( String path, String destination, String pattern, String password) [static]
-
Extracts a zip archive synchronously and returns the extracted files.
Parameters
- path
- Path to the zip archive to extract.
- destination
- Destination directory for the zip archive to be extracted to.
- pattern
- Optional wildcard pattern used to selectively extract matching files. For example: '*.txt'. Only the '*' wildcard is supported, and matches zero or more arbitrary characters.
- password
- Optional password used for extracting password protected archives.
Returns
Returns the names of the files that were extracted.