public class TikaParser extends Object implements Parser
X_POINT_ID| Constructor and Description |
|---|
TikaParser() |
| Modifier and Type | Method and Description |
|---|---|
Configuration |
getConf() |
ParseResult |
getParse(Content content)
This method parses the given content and returns a map of <key,
parse> pairs.
|
void |
setConf(Configuration conf) |
public ParseResult getParse(Content content)
Parser
This method parses the given content and returns a map of <key,
parse> pairs. Parse instances will be persisted under the given
key.
Note: Meta-redirects should be followed only when they are coming from the
original URL. That is:
Assume fetcher is in parsing mode and is currently processing
foo.bar.com/redirect.html. If this url contains a meta redirect to another
url, fetcher should only follow the redirect if the map contains an entry
of the form <"foo.bar.com/redirect.html", Parse with a
ParseStatus indicating the redirect>.
public void setConf(Configuration conf)
setConf in interface Configurablepublic Configuration getConf()
getConf in interface ConfigurableCopyright © 2021 The Apache Software Foundation