Επεξεργασία

Κοινή χρήση μέσω


PaxTarEntry Class

Definition

Represents a tar entry in the PAX format.

public ref class PaxTarEntry sealed : System::Formats::Tar::PosixTarEntry
public sealed class PaxTarEntry : System.Formats.Tar.PosixTarEntry
type PaxTarEntry = class
    inherit PosixTarEntry
Public NotInheritable Class PaxTarEntry
Inherits PosixTarEntry
Inheritance

Constructors

PaxTarEntry(TarEntry)

Initializes a new PaxTarEntry instance by converting the specified other entry into the PAX format.

PaxTarEntry(TarEntryType, String, IEnumerable<KeyValuePair<String,String>>)

Initializes a new PaxTarEntry instance with the specified entry type, entry name, and extended attributes enumeration.

PaxTarEntry(TarEntryType, String)

Initializes a new PaxTarEntry instance with the specified entry type and entry name, and the default extended attributes.

Properties

Checksum

The checksum of all the fields in this entry. The value is non-zero either when the entry is read from an existing archive, or after the entry is written to a new archive.

(Inherited from TarEntry)
DataOffset

Gets the starting position of the data stream respective to the archive stream.

(Inherited from TarEntry)
DataStream

Gets or sets the data section of this entry. If the EntryType does not support containing data, then returns null.

(Inherited from TarEntry)
DeviceMajor

Gets or sets the device's major number. When the current entry represents a character device or a block device, the major number identifies the driver associated with the device.

(Inherited from PosixTarEntry)
DeviceMinor

Gets or sets the device's minor number. When the current entry represents a character device or a block device, the minor number is used by the driver to distinguish individual devices it controls.

(Inherited from PosixTarEntry)
EntryType

Gets the type of filesystem object represented by this entry.

(Inherited from TarEntry)
ExtendedAttributes

Returns the extended attributes for this entry.

Format

The format of the entry.

(Inherited from TarEntry)
Gid

Gets or sets the ID of the group that owns the file represented by this entry.

(Inherited from TarEntry)
GroupName

Gets or sets the name of the group that owns this entry.

(Inherited from PosixTarEntry)
Length

When the EntryType indicates an entry that can contain data, gets the length in bytes of such data.

(Inherited from TarEntry)
LinkName

When the EntryType indicates a SymbolicLink or a HardLink, gets or sets the link target path of the link.

(Inherited from TarEntry)
Mode

Gets or sets the Unix file permissions of the file represented by this entry.

(Inherited from TarEntry)
ModificationTime

Gets or sets the last time the contents of the file represented by this entry were modified.

(Inherited from TarEntry)
Name

Gets or sets the name of the entry, which includes the relative path and the filename.

(Inherited from TarEntry)
Uid

Gets or sets the ID of the user that owns the file represented by this entry.

(Inherited from TarEntry)
UserName

Gets or sets the name of the user that owns this entry.

(Inherited from PosixTarEntry)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
ExtractToFile(String, Boolean)

Extracts the current file or directory to the filesystem. Symbolic links and hard links are not extracted.

(Inherited from TarEntry)
ExtractToFileAsync(String, Boolean, CancellationToken)

Asynchronously extracts the current entry to the filesystem.

(Inherited from TarEntry)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current entry.

(Inherited from TarEntry)

Applies to