public abstract class AbstractParser extends Object implements Parser
Modifier and Type | Field and Description |
---|---|
protected ParseContext |
context
Configuration supplied at runtime
|
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, wait
getSupportedTypes, parse
protected ParseContext context
public 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.IOException
SAXException
TikaException
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.