CharDecoderpublic class UTF8Decoder extends AbstractCharDecoder
| Modifier and Type | Field | Description |
|---|---|---|
protected int |
nextChar |
The next char, in case of a 4 bytes sequence.
|
protected static byte[] |
UTF8_BYTES |
The number of bytes of a UTF-8 sequence indexed by the first
byte of the sequence.
|
buffer, BUFFER_SIZE, count, inputStream, positionEND_OF_STREAM| Constructor | Description |
|---|---|
UTF8Decoder(java.io.InputStream is) |
Creates a new UTF8Decoder.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
readChar() |
Reads the next character.
|
charError, dispose, endOfStreamError, fillBufferprotected static final byte[] UTF8_BYTES
protected int nextChar
Copyright ? 2018 Apache Software Foundation. All Rights Reserved.