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.


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.
 

Field Detail

END_OF_STREAM

static final int END_OF_STREAM
This constant represents the end of stream character.

See Also:
Constant Field Values
Method Detail

readChar

int readChar()
             throws IOException
Reads the next character.

Returns:
a character or END_OF_STREAM.
Throws:
IOException

dispose

void dispose()
             throws IOException
Disposes the associated resources.

Throws:
IOException


Copyright © 2017 Apache Software Foundation. All Rights Reserved.