wx.FileSys.FSFile Class Reference

Inheritance diagram for wx.FileSys.FSFile:

wx.Object

List of all members.

Public Member Functions

override void Dispose ()
 FSFile (wxInputStream stream, string location, string mimetype, string anchor, DateTime modificationTime)
 FSFile (Stream stream, string location, string mimetype, string anchor, DateTime modificationTime)
override string ToString ()

Properties

string Anchor [get]
string Location [get]
string MimeType [get]
DateTime ModificationTime [get]
Stream Stream [get]


Detailed Description

This is a wrapper to wxFSFile. Purpose: Provide some additional information on a file read through the wxWidgets file system. Unfortunately, the known characteristics of a wxWidgets file differ strongly from the FileInfo class: Instances of this class know s stream

Constructor & Destructor Documentation

wx.FileSys.FSFile.FSFile ( Stream  stream,
string  location,
string  mimetype,
string  anchor,
DateTime  modificationTime 
)

This creates a file descriptor reading content from the provided stream.

wx.FileSys.FSFile.FSFile ( wxInputStream  stream,
string  location,
string  mimetype,
string  anchor,
DateTime  modificationTime 
)


Member Function Documentation

override void wx.FileSys.FSFile.Dispose (  )  [virtual]

Reimplemented from wx.Object.

override string wx.FileSys.FSFile.ToString (  ) 

A comprehensable text description of this file.


Property Documentation

string wx.FileSys.FSFile.Anchor [get]

The "anchor" part of a hyper link. Refer to the wxWidgets documentation for details.

string wx.FileSys.FSFile.Location [get]

The "location" of the source of the stream data. This is the full location description of the file, e.g.

         http://www.wxwidgets.org
         http://www.ms.mff.cuni.cz/~vsla8348/wxhtml/archive.zip#zip:info.txt
         file:/home/vasek/index.htm
         relative-file.htm
         

string wx.FileSys.FSFile.MimeType [get]

The mime type description (in text form).

DateTime wx.FileSys.FSFile.ModificationTime [get]

Stream wx.FileSys.FSFile.Stream [get]

A stream for receiving the data.


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