|
Apache log4cxx
Version 0.10.0
|
Class for reading from character streams. More...
Inherits Reader.
Public Member Functions | |
| InputStreamReader (const InputStreamPtr &in) | |
| Creates an InputStreamReader that uses the default charset. | |
| InputStreamReader (const InputStreamPtr &in, const CharsetDecoderPtr &enc) | |
| Creates an InputStreamReader that uses the given charset decoder. | |
| ~InputStreamReader () | |
| virtual void | close (Pool &p) |
| Closes the stream. | |
| virtual LogString | read (Pool &p) |
| LogString | getEncoding () const |
Class for reading from character streams.
Decorates a byte based InputStream and provides appropriate conversion to characters.
| InputStreamReader | ( | const InputStreamPtr & | in | ) |
Creates an InputStreamReader that uses the default charset.
| in | The input stream to decorate. |
| InputStreamReader | ( | const InputStreamPtr & | in, |
| const CharsetDecoderPtr & | enc | ||
| ) |
Creates an InputStreamReader that uses the given charset decoder.
| in | The input stream to decorate. |
| enc | The charset decoder to use for the conversion. |
| ~InputStreamReader | ( | ) |
| LogString getEncoding | ( | ) | const |
| p | The memory pool associated with the reader. |
Implements Reader.