The children of the entry.
OptionaldataThe underlying EntryMetaData instance.
void for ZipFileEntry instances.
The ID of the instance.
The relative filename of the entry.
OptionalparentThe parent directory of the entry.
The Reader instance used to read the content of the entry.
The uncompressed size of the content.
The Writer instance used to write the content of the entry.
Tests the password on the entry and all children if any, returns true if the entry is not password protected
Optionaloptions: EntryGetDataOptionsClones the entry
OptionaldeepClone: booleantrue to clone all the descendants.
Retrieves the content of the entry as an ArrayBuffer instance
Optionaloptions: EntryGetDataOptionsThe options.
A promise resolving to an ArrayBuffer instance.
Retrieves the content of the entry as a Blob instance
OptionalmimeType: stringThe MIME type of the content.
Optionaloptions: EntryGetDataOptionsThe options.
A promise resolving to a Blob instance.
Retrieves the content of the entry via a Writer instance
The Writer instance.
Optionaloptions: EntryGetDataOptionsThe options.
A promise resolving to data associated to the Writer instance.
Retrieves the content of the entry as as a Data URI string encoded in Base64
OptionalmimeType: stringThe MIME type of the content.
Optionaloptions: EntryGetDataOptionsThe options.
A promise resolving to a Data URI string encoded in Base64.
Returns the full filename of the entry
Returns the filename of the entry relative to a parent directory
Retrieves the text content of the entry as a string
Optionalencoding: stringThe encoding of the text.
Optionaloptions: EntryGetDataOptionsThe options.
A promise resolving to a string.
Retrieves the content of the entry as a Uint8Array instance
Optionaloptions: EntryGetDataOptionsThe options.
A promise resolving to a Uint8Array instance.
Retrieves the content of the entry via a WritableStream instance
Optionalwritable: WritableStream<any>The WritableStream instance.
Optionaloptions: EntryGetDataOptionsThe options.
A promise resolving to the WritableStream instance.
Tests if a ZipDirectoryEntry instance is an ancestor of the entry
The ZipDirectoryEntry instance.
Tests if the entry or any of its children is password protected
Set the name of the entry
The new name of the entry.
Replaces the content of the entry with a Blob instance
The Blob instance.
Replaces the content of the entry with a Data URI string encoded in Base64
The Data URI string encoded in Base64.
Replaces the content of the entry with a ReadableStream instance
The ReadableStream instance.
Replaces the content of the entry with a string
The string.
Replaces the content of the entry with a Uint8Array instance
The Uint8Array instance.
Represents a file entry in the zip (Filesystem API).