Package org.apache.batik.xml
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: XMLStreamNormalizingReader.java 1733416 2016-03-03 07:07:13Z gadams $
-
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
-
Constructor Summary
ConstructorsConstructorDescriptionXMLStreamNormalizingReader
(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, nullReader, read, read, 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
-