public class FileConfig extends Object implements Serializable
Constructor and Description |
---|
FileConfig()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getFilePath()
Returns the "file" installation folder.
|
boolean |
isMimetype()
Returns
true if the mime option is enabled. |
void |
setFilePath(String filePath)
Sets the "file" installation folder.
|
void |
setMimetype(boolean mimetype)
Sets the mime option.
|
public String getFilePath()
public void setFilePath(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
- Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.