wx.FileSys.ZipFSHandler Class Reference

Inheritance diagram for wx.FileSys.ZipFSHandler:

wx.FileSys.FileSystemHandler wx.Object

List of all members.

Public Member Functions

override FSFile OpenFile (FileSystem fs, string location)
 ZipFSHandler ()


Detailed Description

A wrapper to wxZipFSHandler. This is a handler for FileSystem that can deal with Zip archives. In contrast to most other handlers, this one uses first and second part locations where the first part describes the archive file and the second part describes the archived file.

Example:

 "file:ZipFile.zip#anHTMLIndex.htm#aChapterInThisIndex"

Constructor & Destructor Documentation

wx.FileSys.ZipFSHandler.ZipFSHandler (  ) 

Creates a handler of a file system that can deal with Zip archives. In contrast to most other handlers, this one uses first and second part locations where the first part describes the archive file and the second part describes the archived file.


Member Function Documentation

override FSFile wx.FileSys.ZipFSHandler.OpenFile ( FileSystem  fs,
string  location 
) [virtual]

Returns an instance of FSFile that provides a stream over the data as denoted by location.

Parameters:
location absolute location of the desired data.
fs is the parent file system. This parameter still exists maybe because of historical reasons. The manual 2.6.3. refers to wxZipFSHandler as a reference for using this parameter but this class in the meanwhile explicitely refers to a freshly created file system to avoid infinite recursions (as the remark says).

Implements wx.FileSys.FileSystemHandler.


Manual of the wx.NET   (c) 2003-2011 the wx.NET project at   Get wx.NET at SourceForge.net. Fast, secure and Free Open Source software downloads