The children of the entry.
Optional
dataThe underlying EntryMetaData instance.
void
for ZipFileEntry instances.
The ID of the instance.
The relative filename of the entry.
Optional
parentThe 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
Optional
options: EntryGetDataOptionsClones the entry
Optional
deepClone: booleantrue
to clone all the descendants.
Retrieves the content of the entry as a Blob
instance
Optional
mimeType: stringThe MIME type of the content.
Optional
options: EntryGetDataOptionsThe options.
A promise resolving to a Blob
instance.
Retrieves the content of the entry via a Writer instance
The Writer instance.
Optional
options: 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
Optional
mimeType: stringThe MIME type of the content.
Optional
options: 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
Optional
encoding: stringThe encoding of the text.
Optional
options: EntryGetDataOptionsThe options.
A promise resolving to a string
.
Retrieves the content of the entry as a Uint8Array
instance
Optional
options: EntryGetDataOptionsThe options.
A promise resolving to a Uint8Array
instance.
Retrieves the content of the entry via a WritableStream
instance
Optional
writable: WritableStreamThe WritableStream
instance.
Optional
options: 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).