Public Member Functions | |
virtual | ~CharsetDecoder () |
Destructor. | |
virtual log4cxx_status_t | decode (ByteBuffer &in, LogString &out)=0 |
Decodes as many bytes as possible from the given input buffer, writing the results to the given output string. | |
Static Public Member Functions | |
static CharsetDecoderPtr | getDefaultDecoder () |
Get decoder for default charset. | |
static CharsetDecoderPtr | getDecoder (const LogString &charset) |
Get decoder for specified character set. | |
static CharsetDecoderPtr | getUTF8Decoder () |
Get decoder for UTF-8. | |
static CharsetDecoderPtr | getISOLatinDecoder () |
Get decoder for ISO-8859-1. | |
static bool | isError (log4cxx_status_t stat) |
Determins if status value indicates an invalid byte sequence. | |
Protected Member Functions | |
CharsetDecoder () | |
Protected constructor. |
|
Protected constructor.
|
|
Destructor.
|
|
Decodes as many bytes as possible from the given input buffer, writing the results to the given output string.
|
|
Get decoder for specified character set.
|
|
Get decoder for default charset.
|
|
Get decoder for ISO-8859-1.
|
|
Get decoder for UTF-8.
|
|
Determins if status value indicates an invalid byte sequence.
|