TarEntry Members

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

TarEntry Members

TarEntry overview

Public Static Methods

AdjustEntryName Convenience method that will modify an entry's name directly in place in an entry header buffer byte array.
CreateEntryFromFile Construct an entry for a file. File is set to file, and the header is constructed from information from the file.
CreateTarEntry Construct an entry with only a name. This allows the programmer to construct the entry's header "by hand".
NameTarHeader Fill in a TarHeader given only the entry's name.

Public Instance Constructors

TarEntry Overloaded. Initializes a new instance of the TarEntry class.

Public Instance Properties

File Get this entry's file.
GroupId Get/set this entry's group id.
GroupName Get/set this entry's group name.
IsDirectory Return true if this entry represents a directory, false otherwise
ModTime Get/Set the modification time for this entry
Name Get/Set this entry's name.
Size Get/set this entry's recorded file size.
TarHeader Get this entry's header.
UserId Get/set this entry's user id.
UserName Get/set this entry's user name.

Public Instance Methods

Clone Clone this tar entry.
Equals Determine if the two entries are equal. Equality is determined by the header names being equal.
GetDirectoryEntries Get entries for all files present in this entries directory. If this entry doesnt represent a directory zero entries are returned.
GetFileTarHeader Fill in a TarHeader with information from a File.
GetHashCode Must be overridden when you override Equals.
GetType (inherited from Object) Gets the Type of the current instance.
IsDescendent Determine if the given entry is a descendant of this entry. Descendancy is determined by the name of the descendant starting with this entry's name.
SetIds Convenience method to set this entry's group and user ids.
SetNames Convenience method to set this entry's group and user names.
ToString (inherited from Object) Returns a String that represents the current Object.
WriteEntryHeader Write an entry's header information to a header buffer.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

TarEntry Class | ICSharpCode.SharpZipLib.Tar Namespace