org.apache.batik.util.io
Interface CharDecoder
- All Known Implementing Classes:
- AbstractCharDecoder, StringDecoder, GenericDecoder
- public interface CharDecoder
This interface represents an object which decodes characters from a
stream of bytes.
Field Summary |
static int |
END_OF_STREAM
This constant represents the end of stream character. |
Method Summary |
void |
dispose()
Disposes the associated resources. |
int |
readChar()
Reads the next character. |
END_OF_STREAM
public static final int END_OF_STREAM
- This constant represents the end of stream character.
readChar
public int readChar()
throws java.io.IOException
- Reads the next character.
- Returns:
- a character or END_OF_STREAM.
dispose
public void dispose()
throws java.io.IOException
- Disposes the associated resources.
Copyright © 2002 Apache Software Foundation. All Rights Reserved.