Class AutoDetectReader

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

    public class AutoDetectReader
    extends java.io.BufferedReader
    An input stream reader that automatically detects the character encoding to be used for converting bytes to characters.
    Since:
    Apache Tika 1.2
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.xml.sax.InputSource asInputSource()  
      java.nio.charset.Charset getCharset()  
      • 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
    • Method Detail

      • getCharset

        public java.nio.charset.Charset getCharset()
      • asInputSource

        public org.xml.sax.InputSource asInputSource()