new $k.Zip(archiveNameOrEntity)
Creates a new ZIP Archive
| Name | Type | Description |
|---|---|---|
archiveNameOrEntity |
object |
optional
The name of archive or an NetEntity Creates a zipped entity from all entities passed to the archive |
- Version:
- Experimental feature, might be removed at any time
- Since:
- 5.0.1
Extends
Methods
build(archiveName) : $k.NetEntity
close the archive and return a zip entity
| Name | Type | Description |
|---|---|---|
archiveName |
string |
The filename of the NetEntity |
Returns:
| Type | Description |
|---|---|
| $k.NetEntity | The zip-file as NetEntity |
entry(filename) : object
Returns the entry at the given filename
| Name | Type | Description |
|---|---|---|
filename |
string |
Filename of the entry |
- Version:
- Experimental feature, might be removed at any time
Returns:
| Type | Description |
|---|---|
| object | The entry |
filenames()
Returns the entry filenames
- Version:
- Experimental feature, might be removed at any time