public unpackArchive(archivePath as Path, destinationPath as Path, mode as FileAccessMode = FileAccessMode.CREATE_NEW) as Void throws IOException:
Unpacks an archive using Path objects for both source and destination.
| Parameter | Description |
|---|---|
archivePath | Archive file path. |
destinationPath | Destination directory path. |
mode | Target creation policy. |
zip = ZipArchiver()
zip.unpackArchive(FilePath("reports.zip"), FolderPath("reports"))