Метод | Описание | |
---|---|---|
AdjustEntryName ( byte buffer, string newName ) : void |
Convenience method that will modify an entry's name directly in place in an entry header buffer byte array.
|
|
Clone ( ) : object |
Clone this tar entry.
|
|
CreateEntryFromFile ( string fileName ) : |
Construct an entry for a file. File is set to file, and the header is constructed from information from the file.
|
|
CreateTarEntry ( string name ) : |
Construct an entry with only a
|
|
Equals ( object obj ) : bool |
Determine if the two entries are equal. Equality is determined by the header names being equal.
|
|
GetDirectoryEntries ( ) : ICSharpCode.SharpZipLib.Tar.TarEntry[] |
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 ( ) : int |
Derive a Hash value for the current Object
|
|
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.
|
|
SetIds ( int userId, int groupId ) : void |
Convenience method to set this entry's group and user ids.
|
|
SetNames ( string userName, string groupName ) : void |
Convenience method to set this entry's group and user names.
|
|
TarEntry ( |
Construct a TarEntry using the
|
|
TarEntry ( byte headerBuffer ) : System |
Construct an entry from an archive's header bytes. File is set to null.
|
|
WriteEntryHeader ( byte outBuffer ) : void |
Write an entry's header information to a header buffer.
|
Метод | Описание | |
---|---|---|
TarEntry ( ) : System |
Initialise a default instance of TarEntry.
|
public static AdjustEntryName ( byte buffer, string newName ) : void | ||
buffer | byte | /// The buffer containing the entry header to modify. /// |
newName | string | /// The new name to place into the header buffer. /// |
Результат | void |
public static CreateEntryFromFile ( string fileName ) : |
||
fileName | string | The file name that the entry represents. |
Результат |
public static CreateTarEntry ( string name ) : |
||
name | string | The name to use for the entry |
Результат |
public Equals ( object obj ) : bool | ||
obj | object | The |
Результат | bool |
public GetDirectoryEntries ( ) : ICSharpCode.SharpZipLib.Tar.TarEntry[] | ||
Результат | ICSharpCode.SharpZipLib.Tar.TarEntry[] |
public GetFileTarHeader ( |
||
header | /// The TarHeader to fill in. /// | |
file | string | /// The file from which to get the header information. /// |
Результат | void |
public IsDescendent ( |
||
toTest | /// Entry to be checked as a descendent of this. /// | |
Результат | bool |
public static NameTarHeader ( |
||
header | /// The TarHeader to fill in. /// | |
name | string | /// The tar entry name. /// |
Результат | void |
public SetIds ( int userId, int groupId ) : void | ||
userId | int | /// This entry's new user id. /// |
groupId | int | /// This entry's new group id. /// |
Результат | void |
public SetNames ( string userName, string groupName ) : void | ||
userName | string | /// This entry's new user name. /// |
groupName | string | /// This entry's new group name. /// |
Результат | void |
public TarEntry ( |
||
header | Header details for entry | |
Результат | System |
public TarEntry ( byte headerBuffer ) : System | ||
headerBuffer | byte | /// The header bytes from a tar archive entry. /// |
Результат | System |
public WriteEntryHeader ( byte outBuffer ) : void | ||
outBuffer | byte | /// The tar entry header buffer to fill in. /// |
Результат | void |