public abstract class AbstractParser extends java.lang.Object implements Parser
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID
Serial version UID.
|
| Constructor and Description |
|---|
AbstractParser() |
| Modifier and Type | Method and Description |
|---|---|
void |
parse(java.io.InputStream stream,
org.xml.sax.ContentHandler handler,
Metadata metadata)
Deprecated.
use the
Parser.parse(InputStream, ContentHandler, Metadata, ParseContext) method instead |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSupportedTypes, parseprivate static final long serialVersionUID
public void parse(java.io.InputStream stream,
org.xml.sax.ContentHandler handler,
Metadata metadata)
throws java.io.IOException,
org.xml.sax.SAXException,
TikaException
Parser.parse(InputStream, ContentHandler, Metadata, ParseContext) method insteadParser.parse(InputStream, ContentHandler, Metadata, ParseContext)
method with an empty ParseContext. This method exists as a
leftover from Tika 0.x when the three-argument parse() method still
existed in the Parser interface. No new code should call this
method anymore, it's only here for backwards compatibility.java.io.IOExceptionorg.xml.sax.SAXExceptionTikaException