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
파일 보기 프로젝트 열기: WolfgangSt/axiom

보호된 프로퍼티들

프로퍼티 타입 설명
_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