C# Класс Fanx.Fcode.FStore

FStore models IO streams to use for reading and writing pod files.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

FStore() публичный Метод

Construct a FStore to read.
public FStore ( ZipFile zipFile ) : System
zipFile ICSharpCode.SharpZipLib.Zip.ZipFile
Результат System

close() публичный Метод

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
Результат void

list() публичный Метод

List all the files available.
public list ( ) : string[]
Результат string[]

podFiles() публичный Метод

Return a map to use for Pod.files()
public podFiles ( Fan podUri ) : List
podUri Fan
Результат Fan.Sys.List

read() публичный Метод

Convenience for read(path, false).
public read ( string path ) : FStore.Input
path string
Результат FStore.Input

read() публичный Метод

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
Результат FStore.Input