klyn.io.archives.Archiver.unpackArchive
method

    public abstract unpackArchive(archivePath as String, destinationPath as String, mode as FileAccessMode = FileAccessMode.CREATE_NEW) as Void throws IOException:

Description

Unpacks an archive into a destination directory.

Parameters

Parameter | Description
--- | ---
`archivePath` | Archive file to unpack.
`destinationPath` | Destination directory.
`mode` | Target creation policy.

Throws

- IOException if archive input/output fails, paths are invalid, or the requested archive mode cannot be honored.