cc.mallet.util
Class CommandOption.File
java.lang.Object
cc.mallet.util.CommandOption
cc.mallet.util.CommandOption.File
- Enclosing class:
- CommandOption
public static class CommandOption.File
- extends CommandOption
Nested classes/interfaces inherited from class cc.mallet.util.CommandOption |
CommandOption.Boolean, CommandOption.Double, CommandOption.DoubleArray, CommandOption.File, CommandOption.Integer, CommandOption.IntegerArray, CommandOption.List, CommandOption.ListProviding, CommandOption.Object, CommandOption.ObjectFromBean, CommandOption.Set, CommandOption.SpacedStrings, CommandOption.String |
Constructor Summary |
CommandOption.File(java.lang.Class owner,
java.lang.String name,
java.lang.String argName,
boolean argRequired,
java.io.File defaultValue,
java.lang.String shortdoc,
java.lang.String longdoc)
|
Methods inherited from class cc.mallet.util.CommandOption |
getFullName, getInterpreter, getList, getName, parseArg, postParsing, printOptionValues, process, process, setSummary, wasInvoked |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
value
public java.io.File value
defaultValue
public java.io.File defaultValue
CommandOption.File
public CommandOption.File(java.lang.Class owner,
java.lang.String name,
java.lang.String argName,
boolean argRequired,
java.io.File defaultValue,
java.lang.String shortdoc,
java.lang.String longdoc)
value
public java.io.File value()
parseArg
public void parseArg(java.lang.String arg)
- Overrides:
parseArg
in class CommandOption
defaultValueToString
public java.lang.String defaultValueToString()
- Specified by:
defaultValueToString
in class CommandOption
valueToString
public java.lang.String valueToString()
- Specified by:
valueToString
in class CommandOption