public class OutlookExtractor extends Object
Modifier and Type | Class and Description |
---|---|
static class |
OutlookExtractor.RECIPIENT_TYPE |
Modifier and Type | Field and Description |
---|---|
protected ParseContext |
context |
protected OfficeParserConfig |
officeParserConfig |
protected Metadata |
parentMetadata |
Constructor and Description |
---|
OutlookExtractor(org.apache.poi.poifs.filesystem.DirectoryNode root,
Metadata metadata,
ParseContext context) |
OutlookExtractor(org.apache.poi.poifs.filesystem.DirectoryNode root,
ParseContext context)
Deprecated.
use
OutlookExtractor(DirectoryNode, Metadata, ParseContext)
Will be removed after 2.4.0 |
OutlookExtractor(org.apache.poi.poifs.filesystem.POIFSFileSystem filesystem,
ParseContext context)
Deprecated.
use
OutlookExtractor(DirectoryNode, Metadata, ParseContext)
Will be removed after 2.4.0 |
Modifier and Type | Method and Description |
---|---|
static void |
addEvenIfNull(Property property,
String value,
Metadata metadata) |
protected Detector |
getDetector() |
static String |
getMessageClass(String messageClass) |
protected MimeTypes |
getMimeTypes()
Deprecated.
|
protected String |
getPassword()
Returns the password to be used for this file, or null
if no / default password should be used
|
protected TikaConfig |
getTikaConfig() |
protected void |
handleEmbeddedOfficeDoc(org.apache.poi.poifs.filesystem.DirectoryEntry dir,
String resourceName,
XHTMLContentHandler xhtml,
boolean outputHtml)
Handle an office document that's embedded at the POIFS level
|
protected void |
handleEmbeddedOfficeDoc(org.apache.poi.poifs.filesystem.DirectoryEntry dir,
XHTMLContentHandler xhtml,
boolean outputHtml)
Handle an office document that's embedded at the POIFS level
|
protected void |
handleEmbeddedResource(TikaInputStream resource,
Metadata embeddedMetadata,
String filename,
String relationshipID,
org.apache.poi.hpsf.ClassID storageClassID,
String mediaType,
XHTMLContentHandler xhtml,
boolean outputHtml) |
protected void |
handleEmbeddedResource(TikaInputStream resource,
String filename,
String relationshipID,
org.apache.poi.hpsf.ClassID storageClassID,
String mediaType,
XHTMLContentHandler xhtml,
boolean outputHtml) |
protected void |
handleEmbeddedResource(TikaInputStream resource,
String filename,
String relationshipID,
String mediaType,
XHTMLContentHandler xhtml,
boolean outputHtml) |
void |
parse(XHTMLContentHandler xhtml) |
void |
parse(XHTMLContentHandler xhtml,
Metadata metadata)
Deprecated.
use
#parse(XHTMLContentHandler), will be removed after 2.4.0 |
protected final Metadata parentMetadata
protected final OfficeParserConfig officeParserConfig
protected final ParseContext context
@Deprecated public OutlookExtractor(org.apache.poi.poifs.filesystem.POIFSFileSystem filesystem, ParseContext context) throws TikaException
OutlookExtractor(DirectoryNode, Metadata, ParseContext)
Will be removed after 2.4.0filesystem
- context
- TikaException
@Deprecated public OutlookExtractor(org.apache.poi.poifs.filesystem.DirectoryNode root, ParseContext context) throws TikaException
OutlookExtractor(DirectoryNode, Metadata, ParseContext)
Will be removed after 2.4.0root
- context
- TikaException
public OutlookExtractor(org.apache.poi.poifs.filesystem.DirectoryNode root, Metadata metadata, ParseContext context) throws TikaException
TikaException
public void parse(XHTMLContentHandler xhtml) throws TikaException, SAXException, IOException
TikaException
SAXException
IOException
@Deprecated public void parse(XHTMLContentHandler xhtml, Metadata metadata) throws TikaException, SAXException, IOException
#parse(XHTMLContentHandler), will be removed after 2.4.0
xhtml
- metadata
- TikaException
SAXException
IOException
protected TikaConfig getTikaConfig()
protected Detector getDetector()
protected MimeTypes getMimeTypes()
embeddedDocumentUtil
protected String getPassword()
protected void handleEmbeddedResource(TikaInputStream resource, String filename, String relationshipID, String mediaType, XHTMLContentHandler xhtml, boolean outputHtml) throws IOException, SAXException, TikaException
IOException
SAXException
TikaException
protected void handleEmbeddedResource(TikaInputStream resource, String filename, String relationshipID, org.apache.poi.hpsf.ClassID storageClassID, String mediaType, XHTMLContentHandler xhtml, boolean outputHtml) throws IOException, SAXException, TikaException
IOException
SAXException
TikaException
protected void handleEmbeddedResource(TikaInputStream resource, Metadata embeddedMetadata, String filename, String relationshipID, org.apache.poi.hpsf.ClassID storageClassID, String mediaType, XHTMLContentHandler xhtml, boolean outputHtml) throws IOException, SAXException, TikaException
IOException
SAXException
TikaException
protected void handleEmbeddedOfficeDoc(org.apache.poi.poifs.filesystem.DirectoryEntry dir, XHTMLContentHandler xhtml, boolean outputHtml) throws IOException, SAXException, TikaException
IOException
SAXException
TikaException
protected void handleEmbeddedOfficeDoc(org.apache.poi.poifs.filesystem.DirectoryEntry dir, String resourceName, XHTMLContentHandler xhtml, boolean outputHtml) throws IOException, SAXException, TikaException
IOException
SAXException
TikaException
Copyright © 2007–2023 The Apache Software Foundation. All rights reserved.