XarFileEntry

XarFileEntry class

Represents file entry within xar archive.

The XarFileEntry type exposes the following members:

Properties

NameDescription
nameGets name of the entry within archive.
full_pathGets full path of the entry within archive.
is_directoryGets a value indicating whether the entry represents directory.
parentGets the parent directory the entry belongs to.
creation_timeGets the creation time of the file or directory.
last_access_timeGets the last access time of the file or directory.
last_write_timeGets the modification time of the file or directory.
lengthGets the length of the entry in bytes.

Methods

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

See Also