org.apache.batik.util.io
Interface CharDecoder

All Known Implementing Classes:
AbstractCharDecoder, GenericDecoder, StringDecoder

public interface CharDecoder

This interface represents an object which decodes characters from a stream of bytes.

Version:
$Id: CharDecoder.java,v 1.2 2003/08/08 11:39:27 vhardy Exp $
Author:
Stephane Hillion

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

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

See Also:
Constant Field Values
Method Detail

readChar

public int readChar()
             throws java.io.IOException
Reads the next character.

Returns:
a character or END_OF_STREAM.
Throws:
java.io.IOException

dispose

public void dispose()
             throws java.io.IOException
Disposes the associated resources.

Throws:
java.io.IOException


<oXygen/> XML Editor uses Batik from the Apache Foundation to provide support for previewing SVG documents. See the SVG Editor section for more info.