C# Class ICSharpCode.SharpZipLib.Zip.ZipEntryFactory

Basic implementation of
Inheritance: IEntryFactory
Afficher le fichier Open project: icsharpcode/SharpZipLib Class Usage Examples

Méthodes publiques

Méthode Description
MakeDirectoryEntry ( string directoryName ) : ZipEntry

Make a new for a directory.

MakeDirectoryEntry ( string directoryName, bool useFileSystem ) : ZipEntry

Make a new for a directory.

MakeFileEntry ( string fileName ) : ZipEntry

Make a new ZipEntry for a file.

MakeFileEntry ( string fileName, bool useFileSystem ) : ZipEntry

Make a new ZipEntry for a file.

MakeFileEntry ( string fileName, string entryName, bool useFileSystem ) : ZipEntry

Make a new ZipEntry from a name.

ZipEntryFactory ( ) : System

Initialise a new instance of the ZipEntryFactory class.

A default INameTransform, and the LastWriteTime for files is used.

ZipEntryFactory ( DateTime time ) : System

Initialise a new instance of ZipEntryFactory using the specified DateTime

ZipEntryFactory ( TimeSetting timeSetting ) : System

Initialise a new instance of ZipEntryFactory using the specified TimeSetting

Method Details

MakeDirectoryEntry() public méthode

Make a new for a directory.
public MakeDirectoryEntry ( string directoryName ) : ZipEntry
directoryName string The raw untransformed name for the new directory
Résultat ZipEntry

MakeDirectoryEntry() public méthode

Make a new for a directory.
public MakeDirectoryEntry ( string directoryName, bool useFileSystem ) : ZipEntry
directoryName string The raw untransformed name for the new directory
useFileSystem bool If true entry detail is retrieved from the file system if the file exists.
Résultat ZipEntry

MakeFileEntry() public méthode

Make a new ZipEntry for a file.
public MakeFileEntry ( string fileName ) : ZipEntry
fileName string The name of the file to create a new entry for.
Résultat ZipEntry

MakeFileEntry() public méthode

Make a new ZipEntry for a file.
public MakeFileEntry ( string fileName, bool useFileSystem ) : ZipEntry
fileName string The name of the file to create a new entry for.
useFileSystem bool If true entry detail is retrieved from the file system if the file exists.
Résultat ZipEntry

MakeFileEntry() public méthode

Make a new ZipEntry from a name.
public MakeFileEntry ( string fileName, string entryName, bool useFileSystem ) : ZipEntry
fileName string The name of the file to create a new entry for.
entryName string An alternative name to be used for the new entry. Null if not applicable.
useFileSystem bool If true entry detail is retrieved from the file system if the file exists.
Résultat ZipEntry

ZipEntryFactory() public méthode

Initialise a new instance of the ZipEntryFactory class.
A default INameTransform, and the LastWriteTime for files is used.
public ZipEntryFactory ( ) : System
Résultat System

ZipEntryFactory() public méthode

Initialise a new instance of ZipEntryFactory using the specified DateTime
public ZipEntryFactory ( DateTime time ) : System
time DateTime The time to set all values to.
Résultat System

ZipEntryFactory() public méthode

Initialise a new instance of ZipEntryFactory using the specified TimeSetting
public ZipEntryFactory ( TimeSetting timeSetting ) : System
timeSetting TimeSetting The time setting to use when creating Zip entries.
Résultat System