public abstract class AbstractOfficeParser extends AbstractParser
OfficeParserConfig
uniformly.Constructor and Description |
---|
AbstractOfficeParser() |
Modifier and Type | Method and Description |
---|---|
void |
configure(ParseContext parseContext)
Checks to see if the user has specified an
OfficeParserConfig . |
boolean |
getExtractAllAlternativesFromMSG() |
boolean |
getExtractMacros() |
boolean |
getIncludeDeletedContent() |
boolean |
getIncludeMoveFromContent() |
boolean |
getUseSAXDocxExtractor() |
void |
setConcatenatePhoneticRuns(boolean concatenatePhoneticRuns) |
void |
setExtractAllAlternativesFromMSG(boolean extractAllAlternativesFromMSG)
Some .msg files can contain body content in html, rtf and/or text.
|
void |
setExtractMacros(boolean extractMacros) |
void |
setIncludeDeletedContent(boolean includeDeletedConent) |
void |
setIncludeMoveFromContent(boolean includeMoveFromContent) |
void |
setIncludeShapeBasedContent(boolean includeShapeBasedContent) |
void |
setUseSAXDocxExtractor(boolean useSAXDocxExtractor) |
void |
setUseSAXPptxExtractor(boolean useSAXPptxExtractor) |
parse
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSupportedTypes, parse
public void configure(ParseContext parseContext)
OfficeParserConfig
.
If so, no changes are made; if not, one is added to the context.parseContext
- public boolean getIncludeDeletedContent()
OfficeParserConfig.getIncludeDeletedContent()
public boolean getIncludeMoveFromContent()
OfficeParserConfig.getIncludeMoveFromContent()
public boolean getUseSAXDocxExtractor()
OfficeParserConfig.getUseSAXDocxExtractor()
public boolean getExtractMacros()
OfficeParserConfig.getExtractMacros()
@Field public void setIncludeDeletedContent(boolean includeDeletedConent)
@Field public void setIncludeMoveFromContent(boolean includeMoveFromContent)
@Field public void setIncludeShapeBasedContent(boolean includeShapeBasedContent)
@Field public void setUseSAXDocxExtractor(boolean useSAXDocxExtractor)
@Field public void setUseSAXPptxExtractor(boolean useSAXPptxExtractor)
@Field public void setExtractMacros(boolean extractMacros)
@Field public void setConcatenatePhoneticRuns(boolean concatenatePhoneticRuns)
@Field public void setExtractAllAlternativesFromMSG(boolean extractAllAlternativesFromMSG)
extractAllAlternativesFromMSG
- whether or not to extract all alternative parts from msg filespublic boolean getExtractAllAlternativesFromMSG()
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.