Package cc.mallet.util
Class CommandOption.ObjectFromBean
- java.lang.Object
-
- cc.mallet.util.CommandOption
-
- cc.mallet.util.CommandOption.Object
-
- cc.mallet.util.CommandOption.ObjectFromBean
-
- Enclosing class:
- CommandOption
public static class CommandOption.ObjectFromBean extends CommandOption.Object
-
-
Nested Class Summary
-
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
-
-
Field Summary
-
Fields inherited from class cc.mallet.util.CommandOption.Object
defaultValue, value
-
-
Constructor Summary
Constructors Constructor Description ObjectFromBean(java.lang.Class owner, java.lang.String name, java.lang.String argName, boolean argRequired, java.lang.Object defValue, java.lang.String shortdoc, java.lang.String longdoc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
defaultValueToString()
void
parseArg(java.lang.String arg)
java.lang.Object
value()
java.lang.String
valueToString()
-
Methods inherited from class cc.mallet.util.CommandOption
getFullName, getInterpreter, getList, getName, parseArg, postParsing, printOptionValues, process, process, setSummary, wasInvoked
-
-
-
-
Method Detail
-
value
public java.lang.Object value()
- Overrides:
value
in classCommandOption.Object
-
parseArg
public void parseArg(java.lang.String arg)
- Overrides:
parseArg
in classCommandOption.Object
-
defaultValueToString
public java.lang.String defaultValueToString()
- Overrides:
defaultValueToString
in classCommandOption.Object
-
valueToString
public java.lang.String valueToString()
- Overrides:
valueToString
in classCommandOption.Object
-
-