|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.util.io.AbstractCharDecoder | +--org.apache.batik.util.io.UTF8Decoder
This class represents an object which decodes UTF-8 characters from a stream of bytes.
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. |
Fields inherited from class org.apache.batik.util.io.AbstractCharDecoder |
buffer, BUFFER_SIZE, count, inputStream, position |
Fields inherited from interface org.apache.batik.util.io.CharDecoder |
END_OF_STREAM |
Constructor Summary | |
UTF8Decoder(java.io.InputStream is)
Creates a new UTF8Decoder. |
Method Summary | |
int |
readChar()
Reads the next character. |
Methods inherited from class org.apache.batik.util.io.AbstractCharDecoder |
charError, dispose, endOfStreamError, fillBuffer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final byte[] UTF8_BYTES
protected int nextChar
Constructor Detail |
public UTF8Decoder(java.io.InputStream is)
Method Detail |
public int readChar() throws java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |