Apache Log4cxx
Version 1.3.1
|
Class for reading from character streams. More...
#include <inputstreamreader.h>
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 () | |
void | close (Pool &p) override |
Closes the stream. | |
LogString | read (Pool &p) override |
LogString | getEncoding () const |
![]() | |
virtual | ~Object () |
virtual const helpers::Class & | getClass () const =0 |
virtual bool | instanceof (const Class &clazz) const =0 |
virtual const void * | cast (const Class &clazz) const =0 |
Additional Inherited Members | |
![]() | |
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.
log4cxx::helpers::InputStreamReader::InputStreamReader | ( | const InputStreamPtr & | in | ) |
Creates an InputStreamReader that uses the default charset.
in | The input stream to decorate. |
log4cxx::helpers::InputStreamReader::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. |
log4cxx::helpers::InputStreamReader::~InputStreamReader | ( | ) |
Closes the stream.
p | The memory pool associated with the reader. |
Implements log4cxx::helpers::Reader.
LogString log4cxx::helpers::InputStreamReader::getEncoding | ( | ) | const |
p | The memory pool associated with the reader. |
Implements log4cxx::helpers::Reader.