edu.cmu.minorthird.ui
Class CommandLineUtil.SaveParams
java.lang.Object
edu.cmu.minorthird.util.BasicCommandLineProcessor
edu.cmu.minorthird.ui.CommandLineUtil.SaveParams
- All Implemented Interfaces:
- CommandLineProcessor, Saveable
- Enclosing class:
- CommandLineUtil
public static class CommandLineUtil.SaveParams
- extends BasicCommandLineProcessor
Parameters used by all 'train' routines.
Method Summary |
java.lang.String |
getSaveAs()
|
java.lang.String |
getSaveAsHelp()
|
void |
saveAs(java.lang.String fileName)
|
void |
setSaveAs(java.lang.String s)
|
void |
usage()
Override this to print a meaningful usage error. |
Methods inherited from class edu.cmu.minorthird.util.BasicCommandLineProcessor |
config, config, consumeArguments, getExtensionFor, getFormatNames, help, main, processArguments, propertyList, propertyValue, restore, saveAs, shouldTerminate, tryToGetCLP, usage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
saveAs
public java.io.File saveAs
saveHelp
public java.lang.String saveHelp
CommandLineUtil.SaveParams
public CommandLineUtil.SaveParams()
saveAs
public void saveAs(java.lang.String fileName)
usage
public void usage()
- Description copied from class:
BasicCommandLineProcessor
- Override this to print a meaningful usage error.
Default will list all commands other than 'usage',
'help', 'getX', and 'setX'.
- Specified by:
usage
in interface CommandLineProcessor
- Overrides:
usage
in class BasicCommandLineProcessor
getSaveAs
public java.lang.String getSaveAs()
setSaveAs
public void setSaveAs(java.lang.String s)
getSaveAsHelp
public java.lang.String getSaveAsHelp()