Package org.apache.tika.detect
Class AutoDetectReader
java.lang.Object
java.io.Reader
java.io.BufferedReader
org.apache.tika.detect.AutoDetectReader
- All Implemented Interfaces:
Closeable,AutoCloseable,Readable
Deprecated.
This version of the Apache Tika library is deprecated. Use your own version of Apache Tika.
An input stream reader that automatically detects the character encoding
to be used for converting bytes to characters.
- Since:
- Apache Tika 1.2
-
Constructor Summary
ConstructorsConstructorDescriptionAutoDetectReader(InputStream stream) Deprecated.AutoDetectReader(InputStream stream, Metadata metadata) Deprecated.AutoDetectReader(InputStream stream, Metadata metadata, ServiceLoader loader) Deprecated.AutoDetectReader(InputStream stream, Metadata metadata, EncodingDetector encodingDetector) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Methods inherited from class java.io.BufferedReader
close, lines, mark, markSupported, read, read, readLine, ready, reset, skipMethods inherited from class java.io.Reader
nullReader, read, read, transferTo
-
Constructor Details
-
AutoDetectReader
public AutoDetectReader(InputStream stream, Metadata metadata, EncodingDetector encodingDetector) throws IOException, TikaException Deprecated.- Throws:
IOExceptionTikaException
-
AutoDetectReader
public AutoDetectReader(InputStream stream, Metadata metadata, ServiceLoader loader) throws IOException, TikaException Deprecated.- Throws:
IOExceptionTikaException
-
AutoDetectReader
Deprecated.- Throws:
IOExceptionTikaException
-
AutoDetectReader
Deprecated.- Throws:
IOExceptionTikaException
-
-
Method Details
-
getCharset
Deprecated. -
asInputSource
Deprecated.
-