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

An IArchiveStorage implementation suitable for hard disks.
상속: BaseArchiveStorage
파일 보기 프로젝트 열기: fanfeilong/exceltk 1 사용 예제들

공개 메소드들

메소드 설명
ConvertTemporaryToFinal ( ) : Stream

Converts a temporary Stream to its final form.

DiskArchiveStorage ( ZipFile file ) : System

Initializes a new instance of the DiskArchiveStorage class.

DiskArchiveStorage ( ZipFile file, FileUpdateMode updateMode ) : System

Initializes a new instance of the DiskArchiveStorage class.

Dispose ( ) : void

Disposes this instance.

GetTemporaryOutput ( ) : Stream

Gets a temporary output Stream for performing updates on.

MakeTemporaryCopy ( Stream stream ) : Stream

Make a temporary copy of a stream.

OpenForDirectUpdate ( Stream stream ) : Stream

Return a stream suitable for performing direct updates on the original source.

If the stream is not null this is used as is.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
GetTempFileName ( string original, bool makeTempFile ) : string

메소드 상세

ConvertTemporaryToFinal() 공개 메소드

Converts a temporary Stream to its final form.
public ConvertTemporaryToFinal ( ) : Stream
리턴 Stream

DiskArchiveStorage() 공개 메소드

Initializes a new instance of the DiskArchiveStorage class.
public DiskArchiveStorage ( ZipFile file ) : System
file ZipFile The file.
리턴 System

DiskArchiveStorage() 공개 메소드

Initializes a new instance of the DiskArchiveStorage class.
public DiskArchiveStorage ( ZipFile file, FileUpdateMode updateMode ) : System
file ZipFile The file.
updateMode FileUpdateMode The update mode.
리턴 System

Dispose() 공개 메소드

Disposes this instance.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetTemporaryOutput() 공개 메소드

Gets a temporary output Stream for performing updates on.
public GetTemporaryOutput ( ) : Stream
리턴 Stream

MakeTemporaryCopy() 공개 메소드

Make a temporary copy of a stream.
public MakeTemporaryCopy ( Stream stream ) : Stream
stream Stream The to copy.
리턴 Stream

OpenForDirectUpdate() 공개 메소드

Return a stream suitable for performing direct updates on the original source.
If the stream is not null this is used as is.
public OpenForDirectUpdate ( Stream stream ) : Stream
stream Stream The current stream.
리턴 Stream