TarEntry Methods

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

TarEntry Methods

The methods of the TarEntry class are listed below. For a complete list of TarEntry class members, see the TarEntry Members topic.

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 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