public abstract class AbstractParser extends Object implements Parser
| Constructor and Description |
|---|
AbstractParser() |
| Modifier and Type | Method and Description |
|---|---|
void |
parse(InputStream stream,
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, parsepublic void parse(InputStream stream, ContentHandler handler, Metadata metadata) throws IOException, 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.IOExceptionSAXExceptionTikaExceptionCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.