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, wait
getSupportedTypes, parse
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.IOException
org.xml.sax.SAXException
TikaException
Copyright © 2010 - 2020 Adobe. All Rights Reserved