Package org.apache.batik.util.io
Class ASCIIDecoder
java.lang.Object
org.apache.batik.util.io.AbstractCharDecoder
org.apache.batik.util.io.ASCIIDecoder
- All Implemented Interfaces:
CharDecoder
This class represents an object which decodes ASCII characters from
a stream of bytes.
-
Field Summary
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
Constructors -
Method Summary
Methods inherited from class org.apache.batik.util.io.AbstractCharDecoder
charError, dispose, endOfStreamError, fillBuffer
-
Constructor Details
-
ASCIIDecoder
Creates a new ASCIIDecoder.
-
-
Method Details
-
readChar
Reads the next character.- Returns:
- a character or END_OF_STREAM.
- Throws:
IOException
-