org.apache.xmlbeans.impl.common
Class SniffedXmlReader

java.lang.Object
  extended by java.io.Reader
      extended by java.io.BufferedReader
          extended by org.apache.xmlbeans.impl.common.SniffedXmlReader
All Implemented Interfaces:
java.io.Closeable, java.lang.Readable

public class SniffedXmlReader
extends java.io.BufferedReader


Field Summary
static int MAX_SNIFFED_CHARS
           
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
SniffedXmlReader(java.io.Reader reader)
           
 
Method Summary
 java.lang.String getXmlEncoding()
           
 
Methods inherited from class java.io.BufferedReader
close, mark, markSupported, read, read, readLine, ready, reset, skip
 
Methods inherited from class java.io.Reader
read, read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_SNIFFED_CHARS

public static int MAX_SNIFFED_CHARS
Constructor Detail

SniffedXmlReader

public SniffedXmlReader(java.io.Reader reader)
                 throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getXmlEncoding

public java.lang.String getXmlEncoding()