Package org.apache.tika.parser.strings
Class FileConfig
java.lang.Object
org.apache.tika.parser.strings.FileConfig
- All Implemented Interfaces:
Serializable
Deprecated.
This version of the Apache Tika library is deprecated. Use your own version of Apache Tika.
Configuration for the "file" (or file-alternative) command.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the "file" installation folder.booleanDeprecated.Returnstrueif the mime option is enabled.voidsetFilePath(String filePath) Deprecated.Sets the "file" installation folder.voidsetMimetype(boolean mimetype) Deprecated.Sets the mime option.
-
Constructor Details
-
FileConfig
public FileConfig()Deprecated.Default constructor.
-
-
Method Details
-
getFilePath
Deprecated.Returns the "file" installation folder.- Returns:
- the "file" installation folder.
-
setFilePath
Deprecated.Sets the "file" installation folder.- Parameters:
filePath- the "file" installation folder.
-
isMimetype
public boolean isMimetype()Deprecated.Returnstrueif the mime option is enabled.- Returns:
trueif the mime option is enabled, otherwise.
-
setMimetype
public void setMimetype(boolean mimetype) Deprecated.Sets the mime option. Iftrue, it causes the file command to output mime type strings rather than the more traditional human readable ones.- Parameters:
mimetype-
-