Package | Description |
---|---|
org.apache.tika |
Apache Tika.
|
org.apache.tika.config |
Tika configuration tools.
|
org.apache.tika.extractor |
Extraction of component documents.
|
org.apache.tika.fork |
Forked parser.
|
org.apache.tika.parser |
Tika parsers.
|
org.apache.tika.parser.audio | |
org.apache.tika.parser.envi | |
org.apache.tika.parser.epub | |
org.apache.tika.parser.external |
External parser process.
|
org.apache.tika.parser.feed | |
org.apache.tika.parser.gdal | |
org.apache.tika.parser.iptc | |
org.apache.tika.parser.iwork | |
org.apache.tika.parser.strings | |
org.apache.tika.parser.video | |
org.apache.tika.parser.xml |
Modifier and Type | Method and Description |
---|---|
Parser |
Tika.getParser()
Returns the parser instance used by this facade.
|
Constructor and Description |
---|
Tika(Detector detector,
Parser parser)
Creates a Tika facade using the given detector and parser instances, but the default Translator.
|
Tika(Detector detector,
Parser parser,
Translator translator)
Creates a Tika facade using the given detector, parser, and translator instances.
|
Modifier and Type | Method and Description |
---|---|
Parser |
TikaConfig.getParser()
Returns the configured parser instance.
|
Parser |
TikaConfig.getParser(MediaType mimeType)
Deprecated.
Use the
TikaConfig.getParser() method instead |
Constructor and Description |
---|
ParserContainerExtractor(Parser parser,
Detector detector) |
Modifier and Type | Class and Description |
---|---|
class |
ForkParser |
Constructor and Description |
---|
ForkParser(ClassLoader loader,
Parser parser) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractParser
Abstract base class for new parsers.
|
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 |
CryptoParser
Decrypts the incoming document stream and delegates further parsing to
another parser instance.
|
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 |
DigestingParser |
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 |
NetworkParser |
class |
ParserDecorator
Decorator base class for the
Parser interface. |
class |
ParserPostProcessor
Parser decorator that post-processes the results from a decorated parser.
|
class |
RecursiveParserWrapper
This is a helper class that wraps a parser in a recursive handler.
|
Modifier and Type | Method and Description |
---|---|
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.withFallbacks(Collection<? extends Parser> parsers,
Set<MediaType> types)
Deprecated.
Do not use until the TODOs are resolved, see TIKA-1509
|
static Parser |
ParserDecorator.withoutTypes(Parser parser,
Set<MediaType> excludeTypes)
Decorates the given parser so that it never claims to support
parsing of the given media types, but will work for all others.
|
static Parser |
ParserDecorator.withTypes(Parser parser,
Set<MediaType> types)
Decorates the given parser so that it always claims to support
parsing of the given media types.
|
Modifier and Type | Method and Description |
---|---|
Map<MediaType,List<Parser>> |
CompositeParser.findDuplicateParsers(ParseContext context)
Utility method that goes through all the component parsers and finds
all media types for which more than one parser declares support.
|
List<Parser> |
DefaultParser.getAllComponentParsers() |
List<Parser> |
CompositeParser.getAllComponentParsers()
Returns all parsers registered with the Composite Parser,
including ones which may not currently be active.
|
Map<MediaType,Parser> |
CompositeParser.getParsers()
Returns the component parsers.
|
Map<MediaType,Parser> |
DefaultParser.getParsers(ParseContext context) |
Map<MediaType,Parser> |
CompositeParser.getParsers(ParseContext context) |
Modifier and Type | Method and Description |
---|---|
void |
CompositeParser.setFallback(Parser fallback)
Sets the fallback parser.
|
static Parser |
ParserDecorator.withoutTypes(Parser parser,
Set<MediaType> excludeTypes)
Decorates the given parser so that it never claims to support
parsing of the given media types, but will work for all others.
|
static Parser |
ParserDecorator.withTypes(Parser parser,
Set<MediaType> types)
Decorates the given parser so that it always claims to support
parsing of the given media types.
|
Modifier and Type | Method and Description |
---|---|
void |
CompositeParser.setParsers(Map<MediaType,Parser> parsers)
Sets the component parsers.
|
static Parser |
ParserDecorator.withFallbacks(Collection<? extends Parser> parsers,
Set<MediaType> types)
Deprecated.
Do not use until the TODOs are resolved, see TIKA-1509
|
Constructor and Description |
---|
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) |
DigestingParser(Parser parser,
DigestingParser.Digester digester)
Creates a decorator for the given parser.
|
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,
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,
InputStream stream,
Metadata metadata,
ParseContext context,
Executor executor)
Creates a reader for the text content of the given binary stream
with the given document metadata.
|
RecursiveParserWrapper(Parser wrappedParser,
ContentHandlerFactory contentHandlerFactory)
Initialize the wrapper with
RecursiveParserWrapper.catchEmbeddedExceptions set
to true as default. |
RecursiveParserWrapper(Parser wrappedParser,
ContentHandlerFactory contentHandlerFactory,
boolean catchEmbeddedExceptions)
Initialize the wrapper.
|
Constructor and Description |
---|
CompositeParser(MediaTypeRegistry registry,
List<Parser> parsers) |
CompositeParser(MediaTypeRegistry registry,
List<Parser> parsers,
Collection<Class<? extends Parser>> excludeParsers) |
CompositeParser(MediaTypeRegistry registry,
List<Parser> parsers,
Collection<Class<? extends Parser>> excludeParsers) |
DefaultParser(MediaTypeRegistry registry,
ServiceLoader loader,
Collection<Class<? extends Parser>> excludeParsers) |
Modifier and Type | Class and Description |
---|---|
class |
AudioParser |
class |
MidiParser |
Modifier and Type | Class and Description |
---|---|
class |
EnviHeaderParser |
Modifier and Type | Class and Description |
---|---|
class |
EpubContentParser
Parser for EPUB OPS
*.html files. |
class |
EpubParser
Epub parser
|
Modifier and Type | Method and Description |
---|---|
Parser |
EpubParser.getContentParser() |
Parser |
EpubParser.getMetaParser() |
Modifier and Type | Method and Description |
---|---|
void |
EpubParser.setContentParser(Parser content) |
void |
EpubParser.setMetaParser(Parser meta) |
Modifier and Type | Class and Description |
---|---|
class |
CompositeExternalParser
A Composite Parser that wraps up all the available External Parsers,
and provides an easy way to access them.
|
class |
ExternalParser
Parser that uses an external program (like catdoc or pdf2txt) to extract
text content and metadata from a given document.
|
Modifier and Type | Class and Description |
---|---|
class |
FeedParser
Feed parser.
|
Modifier and Type | Class and Description |
---|---|
class |
GDALParser
Wraps execution of the Geospatial Data Abstraction
Library (GDAL)
gdalinfo tool used to extract geospatial
information out of hundreds of geo file formats. |
Modifier and Type | Class and Description |
---|---|
class |
IptcAnpaParser
Parser for IPTC ANPA New Wire Feeds
|
Modifier and Type | Class and Description |
---|---|
class |
IWorkPackageParser
A parser for the IWork container files.
|
Modifier and Type | Class and Description |
---|---|
class |
Latin1StringsParser
Parser to extract printable Latin1 strings from arbitrary files with pure
java.
|
class |
StringsParser
Parser that uses the "strings" (or strings-alternative) command to find the
printable strings in a object, or other binary, file
(application/octet-stream).
|
Modifier and Type | Class and Description |
---|---|
class |
FLVParser
Parser for metadata contained in Flash Videos (.flv).
|
Modifier and Type | Class and Description |
---|---|
class |
DcXMLParser
Dublin Core metadata parser
|
class |
FictionBookParser |
class |
XMLParser
XML parser.
|
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.