Class SniffedXmlReader

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, java.lang.Readable

    public class SniffedXmlReader
    extends java.io.BufferedReader
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int MAX_SNIFFED_CHARS  
    • Constructor Summary

      Constructors 
      Constructor Description
      SniffedXmlReader​(java.io.Reader reader)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getXmlEncoding()  
      • Methods inherited from class java.io.BufferedReader

        close, lines, mark, markSupported, read, read, readLine, ready, reset, skip
      • Methods inherited from class java.io.Reader

        nullReader, read, read, transferTo
      • Methods inherited from class java.lang.Object

        equals, 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()