Méthode | Description | |
---|---|---|
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.
|
Méthode | Description | |
---|---|---|
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. /// |
Résultat | void |
public static CreateEntryFromFile ( string fileName ) : |
||
fileName | string | The file name that the entry represents. |
Résultat |
public static CreateTarEntry ( string name ) : |
||
name | string | The name to use for the entry |
Résultat |
public Equals ( object obj ) : bool | ||
obj | object | The |
Résultat | bool |
public GetDirectoryEntries ( ) : ICSharpCode.SharpZipLib.Tar.TarEntry[] | ||
Résultat | ICSharpCode.SharpZipLib.Tar.TarEntry[] |
public GetFileTarHeader ( |
||
header | /// The TarHeader to fill in. /// | |
file | string | /// The file from which to get the header information. /// |
Résultat | void |
public IsDescendent ( |
||
toTest | /// Entry to be checked as a descendent of this. /// | |
Résultat | bool |
public static NameTarHeader ( |
||
header | /// The TarHeader to fill in. /// | |
name | string | /// The tar entry name. /// |
Résultat | void |
public SetIds ( int userId, int groupId ) : void | ||
userId | int | /// This entry's new user id. /// |
groupId | int | /// This entry's new group id. /// |
Résultat | void |
public SetNames ( string userName, string groupName ) : void | ||
userName | string | /// This entry's new user name. /// |
groupName | string | /// This entry's new group name. /// |
Résultat | void |
public TarEntry ( |
||
header | Header details for entry | |
Résultat | System |
public TarEntry ( byte headerBuffer ) : System | ||
headerBuffer | byte | /// The header bytes from a tar archive entry. /// |
Résultat | System |
public WriteEntryHeader ( byte outBuffer ) : void | ||
outBuffer | byte | /// The tar entry header buffer to fill in. /// |
Résultat | void |