ArchiveEntryPlain

ArchiveEntryPlain class

Zip entry that needs to be compressed without encryption or decompressed without decryption.

The ArchiveEntryPlain type exposes the following members:

Properties

NameDescription
compressed_sizeGets size of compressed file.
nameGets name of the entry within archive.
commentGets comment of the entry within archive.
uncompressed_sizeGets size of original file.
modification_timeGets or sets last modified date and time.
is_directoryGets a value indicating whether the entry represents directory.
data_sourceSource for the entry if the entry was added to archive, not extracted.
compression_settingsGets settings for compression or decompression.
lengthGets the length of the entry in bytes.

Methods

NameDescription
extract(path, password)Extracts the entry to the filesystem by the path provided.
extract(destination, password)Extracts the entry to the stream provided.
extract(path)Extracts the entry to the filesystem by the path provided.
extract(destination)Extracts the entry to the stream provided.
open(password)Opens the entry for extraction and provides a stream with decompressed entry content.

See Also