Class for reading from character streams.
More...
#include <inputstreamreader.h>
|
| Reader () |
| Creates a new character-stream reader.
|
|
virtual | ~Reader () |
|
Class for reading from character streams.
Decorates a byte based InputStream and provides appropriate conversion to characters.
◆ InputStreamReader() [1/2]
log4cxx::helpers::InputStreamReader::InputStreamReader |
( |
const InputStreamPtr & |
in | ) |
|
Creates an InputStreamReader that uses the default charset.
- Parameters
-
in | The input stream to decorate. |
◆ InputStreamReader() [2/2]
log4cxx::helpers::InputStreamReader::InputStreamReader |
( |
const InputStreamPtr & |
in, |
|
|
const CharsetDecoderPtr & |
enc |
|
) |
| |
Creates an InputStreamReader that uses the given charset decoder.
- Parameters
-
in | The input stream to decorate. |
enc | The charset decoder to use for the conversion. |
◆ ~InputStreamReader()
log4cxx::helpers::InputStreamReader::~InputStreamReader |
( |
| ) |
|
◆ close()
void log4cxx::helpers::InputStreamReader::close |
( |
Pool & |
p | ) |
|
|
overridevirtual |
◆ getEncoding()
LogString log4cxx::helpers::InputStreamReader::getEncoding |
( |
| ) |
const |
- Returns
- The name of the character encoding being used by this stream.
◆ read()
- Returns
- The complete stream contents as a LogString.
- Parameters
-
p | The memory pool associated with the reader. |
Implements log4cxx::helpers::Reader.
The documentation for this class was generated from the following file: