C# Класс Axiom.FileSystem.ZipArchive

Specialization of the Archive class to allow reading of files from from a zip format source archive.
This archive format supports all archives compressed in the standard zip format, including iD pk3 files.
Наследование: Axiom.FileSystem.Archive
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
_fileList List
_zipDir string
_zipFile string
_zipStream Ionic.Zip.ZipInputStream

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

Метод Описание
Exists ( string fileName ) : bool

Find ( string pattern, bool recursive ) : List

FindFileInfo ( string pattern, bool recursive ) : FileInfoList

List ( bool recursive ) : List

ListFileInfo ( bool recursive ) : FileInfoList

Load ( ) : void

Open ( string filename, bool readOnly ) : Stream

Unload ( ) : void

ZipArchive ( string name, string archType ) : System

Защищенные методы

Метод Описание
findFiles ( string pattern, bool recursive, List simpleList, FileInfoList detailList ) : void

Utility method to retrieve all files in a directory matching pattern.

findFiles ( string pattern, bool recursive, List simpleList, FileInfoList detailList, string currentDir ) : void

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

Exists() публичный метод

public Exists ( string fileName ) : bool
fileName string
Результат bool

Find() публичный метод

public Find ( string pattern, bool recursive ) : List
pattern string
recursive bool
Результат List

FindFileInfo() публичный метод

public FindFileInfo ( string pattern, bool recursive ) : FileInfoList
pattern string
recursive bool
Результат FileInfoList

List() публичный метод

public List ( bool recursive ) : List
recursive bool
Результат List

ListFileInfo() публичный метод

public ListFileInfo ( bool recursive ) : FileInfoList
recursive bool
Результат FileInfoList

Load() публичный метод

public Load ( ) : void
Результат void

Open() публичный метод

public Open ( string filename, bool readOnly ) : Stream
filename string
readOnly bool
Результат Stream

Unload() публичный метод

public Unload ( ) : void
Результат void

ZipArchive() публичный метод

public ZipArchive ( string name, string archType ) : System
name string
archType string
Результат System

findFiles() защищенный метод

Utility method to retrieve all files in a directory matching pattern.
protected findFiles ( string pattern, bool recursive, List simpleList, FileInfoList detailList ) : void
pattern string File pattern
recursive bool Whether to cascade down directories
simpleList List Populated if retrieving a simple list
detailList FileInfoList Populated if retrieving a detailed list
Результат void

findFiles() защищенный метод

protected findFiles ( string pattern, bool recursive, List simpleList, FileInfoList detailList, string currentDir ) : void
pattern string
recursive bool
simpleList List
detailList FileInfoList
currentDir string The current directory relative to the base of the archive, for file naming
Результат void

Описание свойств

_fileList защищенное свойство

protected List _fileList
Результат List

_zipDir защищенное свойство

protected string _zipDir
Результат string

_zipFile защищенное свойство

root location of the zip file.
protected string _zipFile
Результат string

_zipStream защищенное свойство

protected ZipInputStream,Ionic.Zip _zipStream
Результат Ionic.Zip.ZipInputStream