Class ASCIIDecoder

java.lang.Object
org.apache.batik.util.io.AbstractCharDecoder
org.apache.batik.util.io.ASCIIDecoder
All Implemented Interfaces:
CharDecoder

public class ASCIIDecoder extends AbstractCharDecoder
This class represents an object which decodes ASCII characters from a stream of bytes.
  • Constructor Details

    • ASCIIDecoder

      public ASCIIDecoder(InputStream is)
      Creates a new ASCIIDecoder.
  • Method Details

    • readChar

      public int readChar() throws IOException
      Reads the next character.
      Returns:
      a character or END_OF_STREAM.
      Throws:
      IOException