public class FileConfig
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
filePath |
private boolean |
mimetype |
private static long |
serialVersionUID
Serial version UID
|
| Constructor and Description |
|---|
FileConfig()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFilePath()
Returns the "file" installation folder.
|
boolean |
isMimetype()
Returns
true if the mime option is enabled. |
void |
setFilePath(java.lang.String filePath)
Sets the "file" installation folder.
|
void |
setMimetype(boolean mimetype)
Sets the mime option.
|
private static final long serialVersionUID
private java.lang.String filePath
private boolean mimetype
public java.lang.String getFilePath()
public void setFilePath(java.lang.String filePath)
path - the "file" installation folder.public boolean isMimetype()
true if the mime option is enabled.true if the mime option is enabled, otherwise.public void setMimetype(boolean mimetype)
true, it causes the file command to
output mime type strings rather than the more traditional human readable
ones.mimetype -