org.apache.batik.util.io
public class UTF8Decoder extends AbstractCharDecoder
Field Summary | |
---|---|
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. |
Constructor Summary | |
---|---|
UTF8Decoder(InputStream is)
Creates a new UTF8Decoder. |
Method Summary | |
---|---|
int | readChar()
Reads the next character. |
Returns: a character or END_OF_STREAM.