Class: ZipContainer

$k. ZipContainer

new $k.ZipContainer()

Represents an archive and its directories

Methods

addEntry(entity)

Add entity to archive

Name Type Description
entity $k.Blob | $k.NetEntity

The new zip-entry

Throws:
Type Description
$k.exception.RuntimeError

If the archive is already closed

addFolder(foldername) : $k.ZipDirectory

Add folder to archive

Name Type Description
foldername string

Name of the subfolder

Returns:
Type Description
$k.ZipDirectory The new folder