C# 클래스 ICSharpCode.SharpZipLib.Zip.ZipEntryFactory

Basic implementation of
상속: IEntryFactory
파일 보기 프로젝트 열기: icsharpcode/SharpZipLib 1 사용 예제들

공개 메소드들

메소드 설명
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