Package org.apache.tika.parser.pkg
Class ZipParserConfig
java.lang.Object
org.apache.tika.parser.pkg.ZipParserConfig
- All Implemented Interfaces:
Serializable
Configuration for
ZipParser.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanvoidsetDetectCharsetsInEntryNames(boolean detectCharsetsInEntryNames) voidsetEntryEncoding(Charset entryEncoding) voidsetEntryEncodingName(String charsetName) Set the entry encoding from a string (for JSON deserialization).voidsetIntegrityCheck(boolean integrityCheck)
-
Constructor Details
-
ZipParserConfig
public ZipParserConfig()
-
-
Method Details
-
isDetectCharsetsInEntryNames
public boolean isDetectCharsetsInEntryNames() -
setDetectCharsetsInEntryNames
public void setDetectCharsetsInEntryNames(boolean detectCharsetsInEntryNames) -
getEntryEncoding
-
setEntryEncoding
-
setEntryEncodingName
Set the entry encoding from a string (for JSON deserialization).- Parameters:
charsetName- the charset name- Throws:
TikaConfigException- if the charset is not supported
-
isIntegrityCheck
public boolean isIntegrityCheck() -
setIntegrityCheck
public void setIntegrityCheck(boolean integrityCheck)
-