Class AppleArchiveEntry

AppleArchiveEntry class

Represents a filesystem entry within an AppleArchive.

public sealed class AppleArchiveEntry : IArchiveFileEntry

Properties

NameDescription
IsDirectory { get; }Gets a value indicating whether the entry represents a directory.
IsSymbolicLink { get; }Gets a value indicating whether the entry represents a symbolic link.
Length { get; }Gets the uncompressed length of the entry in bytes.
Name { get; }Gets the path of the entry inside the archive.

Methods

NameDescription
Extract(Stream)Extracts the entry to the stream provided.
Extract(string)Extracts the entry to the filesystem by the path provided.
Open()Opens the entry for extraction and provides a stream with the entry content.

Remarks

An instance of this class can represent a regular file, directory, or symbolic link parsed from an existing Apple Archive, or a file or directory added to an archive being composed.

See Also