|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.apache.batik.util.io.AbstractCharDecoder
org.apache.batik.util.io.UTF16Decoder
This class represents an object which decodes UTF-16 characters from a stream of bytes.
| Field Summary | |
|---|---|
protected boolean |
bigEndian
Whether the stream's byte-order is big-endian. |
| 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 | |
|---|---|
UTF16Decoder(java.io.InputStream is)
Creates a new UTF16Decoder. |
|
UTF16Decoder(java.io.InputStream is,
boolean be)
Creates a new UTF16Decoder. |
|
| 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 boolean bigEndian
| Constructor Detail |
public UTF16Decoder(java.io.InputStream is)
throws java.io.IOException
is - The stream to decode.
public UTF16Decoder(java.io.InputStream is,
boolean be)
is - The stream to decode.be - Whether or not the given stream's byte-order is
big-endian.| Method Detail |
public int readChar()
throws java.io.IOException
java.io.IOException
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||