C# Class SWFProcessing.Swiffotron.IO.FileStore

A store class that stores SWF data on the file system.
Inheritance: ISwiffotronStore
Afficher le fichier Open project: WeeWorld/Swiffotron

Méthodes publiques

Méthode Description
Commit ( string id ) : void

Some stores require commit calls to close output. This implementation will require that the stream is closed, but you should still call Commit in order to comply with the interface contract.

Initialise ( string init ) : void

Called when the store is created

OpenInput ( string id ) : Stream

Open a stored object for input

OpenOutput ( string id ) : Stream

Open a store object to write data to. If the object already exists, it will be overwritten.

Method Details

Commit() public méthode

Some stores require commit calls to close output. This implementation will require that the stream is closed, but you should still call Commit in order to comply with the interface contract.
public Commit ( string id ) : void
id string The object you're commiting.
Résultat void

Initialise() public méthode

Called when the store is created
public Initialise ( string init ) : void
init string An initialisation string. Normally this comes from /// an XML config file.
Résultat void

OpenInput() public méthode

Open a stored object for input
public OpenInput ( string id ) : Stream
id string The string identifier for the object
Résultat System.IO.Stream

OpenOutput() public méthode

Open a store object to write data to. If the object already exists, it will be overwritten.
public OpenOutput ( string id ) : Stream
id string The identifier of the object.
Résultat System.IO.Stream