This class is the parent class of input filters for HtmlWindow.
It allows you to read and display files of different file formats.
Returns true if this filter is capable of reading file file.
Example:
bool MyFilter::CanRead(const FSFile& file) { return (file.GetMimeType() == “application/x-ugh”); }Reads the file and returns string with HTML document.
Example:
String MyImgFilter::ReadFile(const FSFile& file) { return “”" + file.GetLocation() + “\”>"; }[This page automatically generated from the Textile source at 2023-06-13 21:31:32 +0000]