strigi/src/streams
Strigi::InputStreamReader Class Reference
#include <inputstreamreader.h>
Inheritance diagram for Strigi::InputStreamReader:

Detailed Description
Adapter to convert an InputStream (a byte stream) into a Reader (decoded Unicode character stream).For more information of conversions, see http://www.gnu.org/software/libc/manual/html_node/iconv-Examples.html and http://tangentsoft.net/mysql++/doc/userman/html/unicode.html
Definition at line 39 of file inputstreamreader.h.
Public Member Functions | |
| InputStreamReader (InputStream *i, const char *enc=0) | |
| ~InputStreamReader () | |
Constructor & Destructor Documentation
| InputStreamReader::InputStreamReader | ( | InputStream * | i, | |
| const char * | enc = 0 | |||
| ) | [explicit] |
Create an InputStreamReader from the given InputStream.
For a list of acceptable encodings, run iconv --list. Not all encodings are supported on all systems.
If the requested encoding is not available, the status is set to Error and an error message is available by calling error().
- Parameters:
-
i the input stream to decode enc the encoding of the input stream. UTF-8 is assumed if no encoding is given
Definition at line 37 of file inputstreamreader.cpp.
| InputStreamReader::~InputStreamReader | ( | ) |
Definition at line 67 of file inputstreamreader.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference