Public Static (Shared) Methods
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". File is set to null.
|
Public Instance Constructors
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 whether or not this entry represents a directory.
|
ModTime | |
Name |
Get/Set this entry's name.
|
Size |
Get/set this entry's 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
AdjustEntryName |
Convenience method that will modify an entry's name directly
in place in an entry header buffer byte array.
|
ComputeCheckSum |
Compute the checksum of a tar entry header.
|
Equals |
Determine if the two entries are equal. Equality is determined
by the header names being equal.
|
GetDirectoryEntries |
If this entry represents a file, and the file is a directory, return
an array of TarEntries for this entry's children.
|
GetFileTarHeader |
Fill in a TarHeader with information from a File.
|
GetHashCode |
Must be overridden when you override Equals.
|
GetType (inherited from Object) | Select the method name to go to the Microsoft documentation. |
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.
|
NameTarHeader |
Fill in a TarHeader given only the entry's name.
|
ParseTarHeader |
Parse an entry's TarHeader information from a header buffer.
|
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) | Select the method name to go to the Microsoft documentation. |
WriteEntryHeader |
Write an entry's header information to a header buffer.
|
Protected Instance Fields
file |
If this entry represents a File, this references it.
|
header |
This is the entry's header information.
|
Protected Instance Methods
Finalize (inherited from Object) | Select the method name to go to the Microsoft documentation. |
MemberwiseClone (inherited from Object) | Select the method name to go to the Microsoft documentation. |
See Also
TarEntry Class | ICSharpCode.SharpZipLib.Tar Namespace