org.apache.batik.xml
Class XMLStreamNormalizingReader

java.lang.Object
  extended byjava.io.Reader
      extended byorg.apache.batik.util.io.NormalizingReader
          extended byorg.apache.batik.util.io.StreamNormalizingReader
              extended byorg.apache.batik.xml.XMLStreamNormalizingReader

public class XMLStreamNormalizingReader
extends StreamNormalizingReader

This class represents a normalizing reader with encoding detection management.

Version:
$Id: XMLStreamNormalizingReader.java,v 1.4 2003/08/08 11:39:27 vhardy Exp $
Author:
Stephane Hillion

Nested Class Summary
 
Nested classes 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(java.io.InputStream is, java.lang.String encod)
          Creates a new XMLStreamNormalizingReader.
 
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, 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(java.io.InputStream is,
                                  java.lang.String encod)
                           throws java.io.IOException
Creates a new XMLStreamNormalizingReader.

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


<oXygen/> XML Editor uses Batik from the Apache Foundation to provide support for previewing SVG documents. See the SVG Editor section for more info.