Package org.apache.tika.parser
Class AbstractEncodingDetectorParser
- java.lang.Object
-
- org.apache.tika.parser.AbstractParser
-
- org.apache.tika.parser.AbstractEncodingDetectorParser
-
- All Implemented Interfaces:
java.io.Serializable
,Parser
- Direct Known Subclasses:
EnviHeaderParser
,HtmlParser
,SourceCodeParser
,TXTParser
public abstract class AbstractEncodingDetectorParser extends AbstractParser
Abstract base class for parsers that use the AutoDetectReader and need to use theEncodingDetector
configured byTikaConfig
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractEncodingDetectorParser()
AbstractEncodingDetectorParser(EncodingDetector encodingDetector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EncodingDetector
getEncodingDetector()
void
setEncodingDetector(EncodingDetector encodingDetector)
-
Methods inherited from class org.apache.tika.parser.AbstractParser
parse
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.tika.parser.Parser
getSupportedTypes, parse
-
-
-
-
Constructor Detail
-
AbstractEncodingDetectorParser
public AbstractEncodingDetectorParser()
-
AbstractEncodingDetectorParser
public AbstractEncodingDetectorParser(EncodingDetector encodingDetector)
-
-
Method Detail
-
getEncodingDetector
public EncodingDetector getEncodingDetector()
-
setEncodingDetector
public void setEncodingDetector(EncodingDetector encodingDetector)
-
-