|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Parser | |
|---|---|
| org.apache.tika | |
| org.apache.tika.config | |
| org.apache.tika.extractor | |
| org.apache.tika.fork | |
| org.apache.tika.parser | |
| org.apache.tika.utils | |
| Uses of Parser in org.apache.tika |
|---|
| Constructors in org.apache.tika with parameters of type Parser | |
|---|---|
Tika(Detector detector,
Parser parser)
Creates a Tika facade using the given detector and parser instances. |
|
| Uses of Parser in org.apache.tika.config |
|---|
| Methods in org.apache.tika.config that return Parser | |
|---|---|
Parser |
TikaConfig.getParser()
Returns the configured parser instance. |
Parser |
TikaConfig.getParser(MediaType mimeType)
Deprecated. Use the TikaConfig.getParser() method instead |
| Methods in org.apache.tika.config that return types with arguments of type Parser | |
|---|---|
java.util.Map<MediaType,Parser> |
TikaConfig.getParsers()
Deprecated. Use the TikaConfig.getParser() method instead |
| Methods in org.apache.tika.config with parameters of type Parser | |
|---|---|
static TikaConfig |
TikaConfig.getDefaultConfig(Parser delegate)
Deprecated. This method will be removed in Apache Tika 1.0 |
| Constructors in org.apache.tika.config with parameters of type Parser | |
|---|---|
TikaConfig(org.w3c.dom.Document document,
Parser delegate)
Deprecated. This method will be removed in Apache Tika 1.0 |
|
TikaConfig(org.w3c.dom.Element element,
Parser delegate)
Deprecated. This method will be removed in Apache Tika 1.0 |
|
TikaConfig(java.io.InputStream stream,
Parser delegate)
Deprecated. This method will be removed in Apache Tika 1.0 |
|
| Uses of Parser in org.apache.tika.extractor |
|---|
| Constructors in org.apache.tika.extractor with parameters of type Parser | |
|---|---|
ParserContainerExtractor(Parser parser,
Detector detector)
|
|
| Uses of Parser in org.apache.tika.fork |
|---|
| Classes in org.apache.tika.fork that implement Parser | |
|---|---|
class |
ForkParser
|
| Constructors in org.apache.tika.fork with parameters of type Parser | |
|---|---|
ForkParser(java.lang.ClassLoader loader,
Parser parser)
|
|
| Uses of Parser in org.apache.tika.parser |
|---|
| Classes in org.apache.tika.parser that implement Parser | |
|---|---|
class |
AutoDetectParser
|
class |
CompositeParser
Composite parser that delegates parsing tasks to a component parser based on the declared content type of the incoming document. |
class |
DefaultParser
A composite parser based on all the Parser implementations
available through the service provider mechanism. |
class |
DelegatingParser
Base class for parser implementations that want to delegate parts of the task of parsing an input document to another parser. |
class |
EmptyParser
Dummy parser that always produces an empty XHTML document without even attempting to parse the given document stream. |
class |
ErrorParser
Dummy parser that always throws a TikaException without even
attempting to parse the given document stream. |
class |
ExternalParser
Parser that uses an external program (like catdoc or pdf2txt) to extract text content from a given document. |
class |
ParserDecorator
Decorator base class for the Parser interface. |
class |
ParserPostProcessor
Parser decorator that post-processes the results from a decorated parser. |
| Methods in org.apache.tika.parser that return Parser | |
|---|---|
protected Parser |
DelegatingParser.getDelegateParser(ParseContext context)
Returns the parser instance to which parsing tasks should be delegated. |
Parser |
CompositeParser.getFallback()
Returns the fallback parser. |
protected Parser |
CompositeParser.getParser(Metadata metadata)
Returns the parser that best matches the given metadata. |
protected Parser |
CompositeParser.getParser(Metadata metadata,
ParseContext context)
|
Parser |
ParserDecorator.getWrappedParser()
Gets the parser wrapped by this ParserDecorator |
static Parser |
ParserDecorator.withTypes(Parser parser,
java.util.Set<MediaType> types)
Decorates the given parser so that it always claims to support parsing of the given media types. |
| Methods in org.apache.tika.parser that return types with arguments of type Parser | |
|---|---|
java.util.Map<MediaType,Parser> |
CompositeParser.getParsers()
Returns the component parsers. |
java.util.Map<MediaType,Parser> |
CompositeParser.getParsers(ParseContext context)
|
| Methods in org.apache.tika.parser with parameters of type Parser | |
|---|---|
void |
CompositeParser.setFallback(Parser fallback)
Sets the fallback parser. |
static Parser |
ParserDecorator.withTypes(Parser parser,
java.util.Set<MediaType> types)
Decorates the given parser so that it always claims to support parsing of the given media types. |
| Method parameters in org.apache.tika.parser with type arguments of type Parser | |
|---|---|
void |
CompositeParser.setParsers(java.util.Map<MediaType,Parser> parsers)
Sets the component parsers. |
| Constructors in org.apache.tika.parser with parameters of type Parser | |
|---|---|
AutoDetectParser(Detector detector,
Parser... parsers)
|
|
AutoDetectParser(Parser... parsers)
Creates an auto-detecting parser instance using the specified set of parser. |
|
CompositeParser(MediaTypeRegistry registry,
Parser... parsers)
|
|
ParserDecorator(Parser parser)
Creates a decorator for the given parser. |
|
ParserPostProcessor(Parser parser)
Creates a post-processing decorator for the given parser. |
|
ParsingReader(Parser parser,
java.io.InputStream stream,
Metadata metadata)
Deprecated. This method will be removed in Apache Tika 1.0 |
|
ParsingReader(Parser parser,
java.io.InputStream stream,
Metadata metadata,
java.util.concurrent.Executor executor)
Deprecated. This method will be removed in Apache Tika 1.0 |
|
ParsingReader(Parser parser,
java.io.InputStream stream,
Metadata metadata,
ParseContext context)
Creates a reader for the text content of the given binary stream with the given document metadata. |
|
ParsingReader(Parser parser,
java.io.InputStream stream,
Metadata metadata,
ParseContext context,
java.util.concurrent.Executor executor)
Creates a reader for the text content of the given binary stream with the given document metadata. |
|
| Constructor parameters in org.apache.tika.parser with type arguments of type Parser | |
|---|---|
CompositeParser(MediaTypeRegistry registry,
java.util.List<Parser> parsers)
|
|
| Uses of Parser in org.apache.tika.utils |
|---|
| Methods in org.apache.tika.utils that return Parser | |
|---|---|
static Parser |
ParseUtils.getParser(java.io.File documentFile,
TikaConfig config)
Returns a parser that can handle the specified MIME type, and is set to receive input from a stream opened from the specified URL. |
static Parser |
ParseUtils.getParser(java.lang.String mimeType,
TikaConfig config)
Returns a parser that can handle the specified MIME type, and is set to receive input from a stream opened from the specified URL. |
static Parser |
ParseUtils.getParser(java.net.URL documentUrl,
TikaConfig config)
Returns a parser that can handle the specified MIME type, and is set to receive input from a stream opened from the specified URL. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||