Package org.apache.tika.parser
Class AbstractParser
- java.lang.Object
- 
- org.apache.tika.parser.AbstractParser
 
- 
- All Implemented Interfaces:
- Serializable,- Parser
 
 @Deprecated public abstract class AbstractParser extends Object implements Parser Deprecated.for removal in 4.xAbstract base class for new parsers. This method implements the old deprecated parse method so subclasses won't have to.- Since:
- Apache Tika 0.10
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description AbstractParser()Deprecated.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidparse(InputStream stream, ContentHandler handler, Metadata metadata)Deprecated.use theParser.parse(InputStream, ContentHandler, Metadata, ParseContext)method instead- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.tika.parser.ParsergetSupportedTypes, parse
 
- 
 
- 
- 
- 
Method Detail- 
parse@Deprecated public void parse(InputStream stream, ContentHandler handler, Metadata metadata) throws IOException, SAXException, TikaException Deprecated.use theParser.parse(InputStream, ContentHandler, Metadata, ParseContext)method insteadCalls theParser.parse(InputStream, ContentHandler, Metadata, ParseContext)method with an emptyParseContext. This method exists as a leftover from Tika 0.x when the three-argument parse() method still existed in theParserinterface. No new code should call this method anymore, it's only here for backwards compatibility.- Throws:
- IOException
- SAXException
- TikaException
 
 
- 
 
-