|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tika.parser.AbstractParser
public abstract class AbstractParser
Abstract base class for new parsers. This method implements the old deprecated parse method so subclasses won't have to.
Constructor Summary | |
---|---|
AbstractParser()
|
Method Summary | |
---|---|
void |
parse(java.io.InputStream stream,
org.xml.sax.ContentHandler handler,
Metadata metadata)
Calls the Parser.parse(InputStream, ContentHandler, Metadata, ParseContext)
method with an empty ParseContext . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.tika.parser.Parser |
---|
getSupportedTypes, parse |
Constructor Detail |
---|
public AbstractParser()
Method Detail |
---|
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 with an empty ParseContext
.
parse
in interface Parser
java.io.IOException
org.xml.sax.SAXException
TikaException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |