public abstract class AbstractParser extends java.lang.Object implements Parser
| 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 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSupportedTypes, parsepublic 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.SAXExceptionTikaExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved