C# Class Fanx.Fcode.FStore

FStore models IO streams to use for reading and writing pod files.
显示文件 Open project: xored/f4 Class Usage Examples

Public Methods

Method Description
FStore ( ZipFile zipFile ) : System

Construct a FStore to read.

close ( ) : void

Close this FStore, which should release all file locks on the pod file. This method exists for testing purposes, and should not otherwise be used.

list ( ) : string[]

List all the files available.

podFiles ( Fan podUri ) : List

Return a map to use for Pod.files()

read ( string path ) : FStore.Input

Convenience for read(path, false).

read ( string path, bool required ) : FStore.Input

Open an input stream for the specified logical path. Return null if not found.

Method Details

FStore() public method

Construct a FStore to read.
public FStore ( ZipFile zipFile ) : System
zipFile ICSharpCode.SharpZipLib.Zip.ZipFile
return System

close() public method

Close this FStore, which should release all file locks on the pod file. This method exists for testing purposes, and should not otherwise be used.
public close ( ) : void
return void

list() public method

List all the files available.
public list ( ) : string[]
return string[]

podFiles() public method

Return a map to use for Pod.files()
public podFiles ( Fan podUri ) : List
podUri Fan
return Fan.Sys.List

read() public method

Convenience for read(path, false).
public read ( string path ) : FStore.Input
path string
return FStore.Input

read() public method

Open an input stream for the specified logical path. Return null if not found.
public read ( string path, bool required ) : FStore.Input
path string
required bool
return FStore.Input