Class GenericDecoder

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

public class GenericDecoder extends Object implements CharDecoder
This class delegates to a reader the decoding of an input stream.
  • Field Details

    • reader

      protected Reader reader
      The reader used to decode the stream.
  • Constructor Details

    • GenericDecoder

      public GenericDecoder(InputStream is, String enc) throws IOException
      Creates a new GenericDecoder.
      Parameters:
      is - The input stream to decode.
      enc - The Java encoding name.
      Throws:
      IOException
    • GenericDecoder

      public GenericDecoder(Reader r)
      Creates a new GenericDecoder.
      Parameters:
      r - The reader to use.
  • Method Details