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 |
ParserFactory.getParser(TikaConfig config) |
Parser |
AutoDetectParserFactory.getParser(TikaConfig config) |
Modifier and Type | Method and Description |
---|---|
protected void |
FileResourceConsumer.parse(String resourceId,
Parser parser,
InputStream is,
ContentHandler handler,
Metadata m,
ParseContext parseContext)
Utility method to handle logging equivalently among all
implementing classes.
|
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 |
Modifier and Type | Class and Description |
---|---|
class |
DirListParser
Parses the output of /bin/ls and counts the number of files and the number of
executables using Tika.
|
class |
EncryptedPrescriptionParser |
class |
LanguageDetectingParser |
class |
PrescriptionParser |
Constructor and Description |
---|
LazyTextExtractorField(Parser parser,
org.apache.jackrabbit.core.value.InternalValue value,
Metadata metadata,
Executor executor,
boolean highlighting,
int maxFieldLength)
Creates a new
LazyTextExtractorField with the given
name . |
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.
|
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) |
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 |
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 |
CTAKESParser
CTAKESParser decorates
AutoDetectParser and leverages on CTAKESContentHandler to extract biomedical information from clinical text using Apache cTAKES. |
Modifier and Type | Class and Description |
---|---|
class |
DIFParser |
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 |
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 |
GeoParser |
Modifier and Type | Class and Description |
---|---|
class |
GeographicInformationParser |
Modifier and Type | Class and Description |
---|---|
class |
GribParser |
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 |
BPGParser
Parser for the Better Portable Graphics )BPG) File Format.
|
class |
ImageParser |
class |
PSDParser
Parser for the Adobe Photoshop PSD File Format.
|
class |
TiffParser |
class |
WebPParser |
Modifier and Type | Class and Description |
---|---|
class |
IptcAnpaParser
Parser for IPTC ANPA New Wire Feeds
|
Modifier and Type | Class and Description |
---|---|
class |
ISArchiveParser |
Modifier and Type | Class and Description |
---|---|
class |
IWorkPackageParser
A parser for the IWork container files.
|
Modifier and Type | Class and Description |
---|---|
class |
SQLite3Parser
This is the main class for parsing SQLite3 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 |
OldExcelParser
A POI-powered Tika Parser for very old versions of Excel, from
pre-OLE2 days, such as Excel 4.
|
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 |
TesseractOCRParser
TesseractOCRParser powered by tesseract-ocr engine.
|
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.
|
class |
RarParser
Parser for Rar files.
|
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 |
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 |
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.
|
Modifier and Type | Method and Description |
---|---|
static void |
TikaResource.fillParseContext(ParseContext parseContext,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
Parser embeddedParser) |
static void |
TikaResource.parse(Parser parser,
org.apache.commons.logging.Log logger,
String path,
InputStream inputStream,
ContentHandler handler,
Metadata metadata,
ParseContext parseContext) |
Copyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.