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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThis 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
-