Class ExecutableParser.ExecutableParserConfig
java.lang.Object
org.apache.tika.parser.executable.ExecutableParser.ExecutableParserConfig
- All Implemented Interfaces:
Serializable
- Enclosing class:
ExecutableParser
Configuration of
ExecutableParser. One set on the
ParseContext, as an object or as JSON under "executable-parser",
takes the parser's place for that parse.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether every icon group is extracted, or only the first, the icon Windows shows for the file (a DLL can carry thousands).booleanWhether icons of PE files (EXE/DLL) are extracted as embedded.icodocuments.voidsetExtractAllIcons(boolean extractAllIcons) voidsetExtractIcons(boolean extractIcons)
-
Constructor Details
-
ExecutableParserConfig
public ExecutableParserConfig()
-
-
Method Details
-
isExtractIcons
public boolean isExtractIcons()Whether icons of PE files (EXE/DLL) are extracted as embedded.icodocuments. Defaults to true; seeisExtractAllIcons()for how many. -
setExtractIcons
public void setExtractIcons(boolean extractIcons) -
isExtractAllIcons
public boolean isExtractAllIcons()Whether every icon group is extracted, or only the first, the icon Windows shows for the file (a DLL can carry thousands). Defaults to false; ignored unlessisExtractIcons(). -
setExtractAllIcons
public void setExtractAllIcons(boolean extractAllIcons)
-