Package org.apache.tika.parser
Class StatefulParser
java.lang.Object
org.apache.tika.parser.AbstractParser
org.apache.tika.parser.ParserDecorator
org.apache.tika.parser.StatefulParser
- All Implemented Interfaces:
Serializable
,Parser
The RecursiveParserWrapper wraps the parser sent
into the parsecontext and then uses that parser
to store state (among many other things).
There are some use cases where regular parsers want to parse content inline (e.g. OCR), and their output should not be treated as coming from an embedded object.
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.tika.parser.ParserDecorator
getDecorationName, getSupportedTypes, getWrappedParser, parse, withFallbacks, withoutTypes, withTypes
Methods inherited from class org.apache.tika.parser.AbstractParser
parse
-
Constructor Details
-
StatefulParser
Creates a decorator for the given parser.- Parameters:
parser
- the parser instance to be decorated
-