C# 클래스 SWFProcessing.Swiffotron.IO.FileStore

A store class that stores SWF data on the file system.
상속: ISwiffotronStore
파일 보기 프로젝트 열기: WeeWorld/Swiffotron

공개 메소드들

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

메소드 상세

Commit() 공개 메소드

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.
리턴 void

Initialise() 공개 메소드

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

OpenInput() 공개 메소드

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

OpenOutput() 공개 메소드

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.
리턴 System.IO.Stream