Package org.apache.batik.util.io
Interface CharDecoder
- All Known Implementing Classes:
AbstractCharDecoder
,ASCIIDecoder
,GenericDecoder
,ISO_8859_1Decoder
,StringDecoder
,UTF16Decoder
,UTF8Decoder
public interface CharDecoder
This interface represents an object which decodes characters from a
stream of bytes.
- Version:
- $Id: CharDecoder.java 1733416 2016-03-03 07:07:13Z gadams $
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
This constant represents the end of stream character. -
Method Summary
-
Field Details
-
END_OF_STREAM
static final int END_OF_STREAMThis constant represents the end of stream character.- See Also:
-
-
Method Details
-
readChar
Reads the next character.- Returns:
- a character or END_OF_STREAM.
- Throws:
IOException
-
dispose
Disposes the associated resources.- Throws:
IOException
-