C# Class Fanx.Fcode.FStore

FStore models IO streams to use for reading and writing pod files.
Afficher le fichier Open project: xored/f4 Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

close() public méthode

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
Résultat void

list() public méthode

List all the files available.
public list ( ) : string[]
Résultat string[]

podFiles() public méthode

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

read() public méthode

Convenience for read(path, false).
public read ( string path ) : FStore.Input
path string
Résultat FStore.Input

read() public méthode

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
Résultat FStore.Input