public class FileOption extends StringOption
Modifier and Type | Field and Description |
---|---|
protected String |
defaultFileExtension |
protected boolean |
isOutputFile |
currentVal, defaultVal
cliChar, illegalNameCharacters, name, purpose
Constructor and Description |
---|
FileOption(String name,
char cliChar,
String purpose,
String defaultFileName,
String defaultExtension,
boolean isOutput) |
Modifier and Type | Method and Description |
---|---|
String |
getDefaultFileExtension() |
File |
getFile() |
boolean |
isOutputFile() |
getDefaultCLIString, getValue, getValueAsCLIString, setValue, setValueViaCLIString
copy, getCLIChar, getName, getPurpose, getStateString, nameIsLegal, resetToDefault
protected String defaultFileExtension
protected boolean isOutputFile
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.