C# Class ICSharpCode.SharpZipLib.Zip.MemoryArchiveStorage

Inheritance: BaseArchiveStorage
Afficher le fichier Open project: fanfeilong/exceltk

Méthodes publiques

Méthode Description
ConvertTemporaryToFinal ( ) : Stream

Converts the temporary Stream to its final form.

Dispose ( ) : void

Disposes this instance.

GetTemporaryOutput ( ) : Stream

Gets the temporary output Stream

MakeTemporaryCopy ( Stream stream ) : Stream

Make a temporary copy of the original stream.

MemoryArchiveStorage ( ) : System

Initializes a new instance of the MemoryArchiveStorage class.

MemoryArchiveStorage ( FileUpdateMode updateMode ) : System

Initializes a new instance of the MemoryArchiveStorage class.

This constructor is for testing as memory streams dont really require safe mode.

OpenForDirectUpdate ( Stream stream ) : Stream

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

If the stream passed is not null this is used; otherwise a new MemoryStream is returned.

Method Details

ConvertTemporaryToFinal() public méthode

Converts the temporary Stream to its final form.
public ConvertTemporaryToFinal ( ) : Stream
Résultat Stream

Dispose() public méthode

Disposes this instance.
public Dispose ( ) : void
Résultat void

GetTemporaryOutput() public méthode

Gets the temporary output Stream
public GetTemporaryOutput ( ) : Stream
Résultat Stream

MakeTemporaryCopy() public méthode

Make a temporary copy of the original stream.
public MakeTemporaryCopy ( Stream stream ) : Stream
stream Stream The to copy.
Résultat Stream

MemoryArchiveStorage() public méthode

Initializes a new instance of the MemoryArchiveStorage class.
public MemoryArchiveStorage ( ) : System
Résultat System

MemoryArchiveStorage() public méthode

Initializes a new instance of the MemoryArchiveStorage class.
This constructor is for testing as memory streams dont really require safe mode.
public MemoryArchiveStorage ( FileUpdateMode updateMode ) : System
updateMode FileUpdateMode The to use
Résultat System

OpenForDirectUpdate() public méthode

Return a stream suitable for performing direct updates on the original source.
If the stream passed is not null this is used; otherwise a new MemoryStream is returned.
public OpenForDirectUpdate ( Stream stream ) : Stream
stream Stream The original source stream
Résultat Stream