C# Class ICSharpCode.SharpZipLib.Tar.TarInputStream.EntryFactoryAdapter

Standard entry factory class creating instances of the class TarEntry
Inheritance: IEntryFactory
Mostrar archivo Open project: icsharpcode/SharpZipLib

Public Methods

Method Description
CreateEntry ( byte headerBuffer ) : TarEntry

Create an entry based on details in header

CreateEntry ( string name ) : TarEntry

Create a TarEntry based on named

CreateEntryFromFile ( string fileName ) : TarEntry

Create a tar entry with details obtained from file

Method Details

CreateEntry() public method

Create an entry based on details in header
public CreateEntry ( byte headerBuffer ) : TarEntry
headerBuffer byte The buffer containing entry details.
return TarEntry

CreateEntry() public method

Create a TarEntry based on named
public CreateEntry ( string name ) : TarEntry
name string The name to use for the entry
return TarEntry

CreateEntryFromFile() public method

Create a tar entry with details obtained from file
public CreateEntryFromFile ( string fileName ) : TarEntry
fileName string The name of the file to retrieve details from.
return TarEntry