org.apache.batik.util.io

Interface CharDecoder

public interface CharDecoder

This interface represents an object which decodes characters from a stream of bytes.
Field Summary
intEND_OF_STREAM
This constant represents the end of stream character.
Method Summary
voiddispose()
Disposes the associated resources.
intreadChar()
Reads the next character.

Field Detail

END_OF_STREAM

public int END_OF_STREAM
This constant represents the end of stream character.

Method Detail

dispose

public void dispose()
Disposes the associated resources.

readChar

public int readChar()
Reads the next character.

Returns: a character or END_OF_STREAM.

Copyright B) 2008 Apache Software Foundation. All Rights Reserved.