new ZipDirectory()
Represents the directories in the archive
Extends
Methods
addEntry(entity, filenameopt)
Add entity to archive
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
entity | $k.Blob | $k.NetEntity | The new entry | |
filename | string | <optional> | The filename within the archive |
- Inherited From
Throws:
If the archive is already closed
addFolder(foldername) → {$k.ZipDirectory}
Add folder to archive
Parameters:
Name | Type | Description |
---|---|---|
foldername | string | Name of the subfolder |
- Inherited From
Returns:
The new folder
- Type:
- $k.ZipDirectory
directories()
Returns the directories
- Version
- Experimental feature, might be removed at any time
- Inherited From
entry(filename) → {$k.NetEntity}
Returns the entry at the given filename
Parameters:
Name | Type | Description |
---|---|---|
filename | string | Filename of the entry |
- Version
- Experimental feature, might be removed at any time
- Inherited From
Returns:
The entry
- Type:
- $k.NetEntity
filename()
Returns the filename
- Version
- Experimental feature, might be removed at any time
- Inherited From
filenames()
Returns the entry filenames
- Version
- Experimental feature, might be removed at any time
- Inherited From