C# Класс ICSharpCode.SharpZipLib.Zip.ZipEntryFactory

Basic implementation of
Наследование: IEntryFactory
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

MakeDirectoryEntry() публичный Метод

Make a new for a directory.
public MakeDirectoryEntry ( string directoryName ) : ZipEntry
directoryName string The raw untransformed name for the new directory
Результат ZipEntry

MakeDirectoryEntry() публичный Метод

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.
Результат ZipEntry

MakeFileEntry() публичный Метод

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.
Результат ZipEntry

MakeFileEntry() публичный Метод

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.
Результат ZipEntry

MakeFileEntry() публичный Метод

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.
Результат ZipEntry

ZipEntryFactory() публичный Метод

Initialise a new instance of the ZipEntryFactory class.
A default INameTransform, and the LastWriteTime for files is used.
public ZipEntryFactory ( ) : System
Результат System

ZipEntryFactory() публичный Метод

Initialise a new instance of ZipEntryFactory using the specified DateTime
public ZipEntryFactory ( DateTime time ) : System
time DateTime The time to set all values to.
Результат System

ZipEntryFactory() публичный Метод

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.
Результат System