org.apache.batik.xml
Class XMLStreamNormalizingReader

java.lang.Object
  extended by java.io.Reader
      extended by org.apache.batik.util.io.NormalizingReader
          extended by org.apache.batik.util.io.StreamNormalizingReader
              extended by org.apache.batik.xml.XMLStreamNormalizingReader
All Implemented Interfaces:
Closeable, Readable

public class XMLStreamNormalizingReader
extends StreamNormalizingReader

This class represents a normalizing reader with encoding detection management.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.batik.util.io.StreamNormalizingReader
StreamNormalizingReader.ASCIIDecoderFactory, StreamNormalizingReader.CharDecoderFactory, StreamNormalizingReader.ISO_8859_1DecoderFactory, StreamNormalizingReader.UTF16DecoderFactory, StreamNormalizingReader.UTF8DecoderFactory
 
Field Summary
 
Fields inherited from class org.apache.batik.util.io.StreamNormalizingReader
charDecoder, charDecoderFactories, column, line, nextChar
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
XMLStreamNormalizingReader(InputStream is, String encod)
          Creates a new XMLStreamNormalizingReader.
 
Method Summary
 
Methods inherited from class org.apache.batik.util.io.StreamNormalizingReader
close, createCharDecoder, getColumn, getLine, read
 
Methods inherited from class org.apache.batik.util.io.NormalizingReader
read
 
Methods inherited from class java.io.Reader
mark, markSupported, read, read, ready, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLStreamNormalizingReader

public XMLStreamNormalizingReader(InputStream is,
                                  String encod)
                           throws IOException
Creates a new XMLStreamNormalizingReader.

Parameters:
is - The input stream to read.
encod - The character encoding to use if the auto-detection fail.
Throws:
IOException


Copyright © 2008 Apache Software Foundation. All Rights Reserved.