Class for reading from character streams.
More...
#include <inputstreamreader.h>
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() [1/3]
| void log4cxx::helpers::Reader::close |
◆ close() [2/3]
| void log4cxx::helpers::InputStreamReader::close |
( |
helpers::Pool & |
p | ) |
|
|
overridevirtual |
◆ close() [3/3]
| virtual void log4cxx::helpers::Reader::close |
- Deprecated:
- The
pool parameter is not used and will be removed in a future version.
Implement this method for now, but plan to migrate to close() without a helpers::Pool parameter.
◆ getEncoding()
| LogString log4cxx::helpers::InputStreamReader::getEncoding |
( |
| ) |
const |
- Returns
- The name of the character encoding being used by this stream.
◆ read() [1/3]
- Returns
- The complete stream contents as a LogString.
◆ read() [2/3]
◆ read() [3/3]
| virtual LogString log4cxx::helpers::Reader::read |
- Deprecated:
- The
pool parameter is not used and will be removed in a future version.
Implement this method for now, but plan to migrate to read() without a helpers::Pool parameter.
The documentation for this class was generated from the following file: