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) |
Constructor and Description |
---|
TikaGUI(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 |
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.
|
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.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.
|
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.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.
|
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) |
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.
|
Constructor and Description |
---|
CompositeParser(MediaTypeRegistry registry,
List<Parser> parsers) |
Modifier and Type | Class and Description |
---|---|
class |
ClassParser
Parser for Java .class files.
|
Modifier and Type | Class and Description |
---|---|
class |
AudioParser |
class |
MidiParser |
Modifier and Type | Class and Description |
---|---|
class |
ChmParser |
Modifier and Type | Class and Description |
---|---|
class |
SourceCodeParser
Generic Source code parser for Java, Groovy, C++
|
Modifier and Type | Class and Description |
---|---|
class |
Pkcs7Parser
Basic parser for PKCS7 data.
|
Modifier and Type | Class and Description |
---|---|
class |
DWGParser
DWG (CAD Drawing) parser.
|
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 |
ExecutableParser
Parser for executable files.
|
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 |
AdobeFontMetricParser
Parser for AFM Font Files
|
class |
TrueTypeParser
Parser for TrueType font files (TTF).
|
Modifier and Type | Class and Description |
---|---|
class |
HDFParser
Since the
NetCDFParser depends on the NetCDF-Java API,
we are able to use it to parse HDF files as well. |
Modifier and Type | Class and Description |
---|---|
class |
HtmlParser
HTML parser.
|
Modifier and Type | Class and Description |
---|---|
class |
ImageParser |
class |
PSDParser
Parser for the Adobe Photoshop PSD File Format.
|
class |
TiffParser |
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 |
JpegParser |
Modifier and Type | Class and Description |
---|---|
class |
RFC822Parser
Uses apache-mime4j to parse emails.
|
Modifier and Type | Class and Description |
---|---|
class |
MatParser |
Modifier and Type | Class and Description |
---|---|
class |
MboxParser
Mbox (mailbox) parser.
|
class |
OutlookPSTParser |
Modifier and Type | Class and Description |
---|---|
class |
OfficeParser
Defines a Microsoft document content extractor.
|
class |
TNEFParser
A POI-powered Tika Parser for TNEF (Transport Neutral
Encoding Format) messages, aka winmail.dat
|
Modifier and Type | Class and Description |
---|---|
class |
OOXMLParser
Office Open XML (OOXML) parser.
|
Modifier and Type | Class and Description |
---|---|
class |
Mp3Parser
The
Mp3Parser is used to parse ID3 Version 1 Tag information
from an MP3 file, if available. |
Modifier and Type | Class and Description |
---|---|
class |
MP4Parser
Parser for the MP4 media container format, as well as the older
QuickTime format that MP4 is based on.
|
Modifier and Type | Class and Description |
---|---|
class |
NetCDFParser
|
Modifier and Type | Class and Description |
---|---|
class |
OpenDocumentContentParser
Parser for ODF
content.xml files. |
class |
OpenDocumentMetaParser
Parser for OpenDocument
meta.xml files. |
class |
OpenDocumentParser
OpenOffice parser
|
Modifier and Type | Method and Description |
---|---|
Parser |
OpenDocumentParser.getContentParser() |
Parser |
OpenDocumentParser.getMetaParser() |
Modifier and Type | Method and Description |
---|---|
void |
OpenDocumentParser.setContentParser(Parser content) |
void |
OpenDocumentParser.setMetaParser(Parser meta) |
Modifier and Type | Class and Description |
---|---|
class |
OpenOfficeParser
Deprecated.
Use the
OpenDocumentParser class instead.
This class will be removed in Apache Tika 1.0. |
Modifier and Type | Class and Description |
---|---|
class |
PDFParser
PDF parser.
|
Modifier and Type | Class and Description |
---|---|
class |
CompressorParser
Parser for various compression formats.
|
class |
PackageParser
Parser for various packaging formats.
|
Modifier and Type | Class and Description |
---|---|
class |
PRTParser
A basic text extracting parser for the CADKey PRT (CAD Drawing)
format.
|
Modifier and Type | Class and Description |
---|---|
class |
RTFParser
RTF parser
|
Modifier and Type | Class and Description |
---|---|
class |
TXTParser
Plain text parser.
|
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-2014 The Apache Software Foundation. All Rights Reserved.