Class XMLStreamNormalizingReader
java.lang.Object
java.io.Reader
org.apache.batik.util.io.NormalizingReader
org.apache.batik.util.io.StreamNormalizingReader
org.apache.batik.xml.XMLStreamNormalizingReader
- All Implemented Interfaces:
Closeable, AutoCloseable, Readable
This class represents a normalizing reader with encoding detection
management.
- Version:
- $Id$
-
Nested Class Summary
-
Field Summary
Fields inherited from class StreamNormalizingReader
charDecoder, charDecoderFactories, column, line, nextChar -
Constructor Summary
ConstructorsConstructorDescriptionXMLStreamNormalizingReader(InputStream is, String encod) Creates a new XMLStreamNormalizingReader. -
Method Summary
Methods inherited from class StreamNormalizingReader
close, createCharDecoder, getColumn, getLine, readMethods inherited from class NormalizingReader
readMethods inherited from class Reader
mark, markSupported, nullReader, of, read, read, readAllAsString, readAllLines, ready, reset, skip, transferTo
-
Constructor Details
-
XMLStreamNormalizingReader
Creates a new XMLStreamNormalizingReader.- Parameters:
is- The input stream to read.encod- The character encoding to use if the auto-detection fail.- Throws:
IOException
-