jargs.gnu
Class CmdLineParser.Option.DoubleOption
java.lang.Object
jargs.gnu.CmdLineParser.Option
jargs.gnu.CmdLineParser.Option.DoubleOption
- Enclosing class:
- CmdLineParser.Option
public static class CmdLineParser.Option.DoubleOption
- extends CmdLineParser.Option
An option that expects a floating-point value
Method Summary |
protected Object |
parseValue(String arg,
Locale locale)
Override to extract and convert an option value passed on the
command-line |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CmdLineParser.Option.DoubleOption
public CmdLineParser.Option.DoubleOption(char shortForm,
String longForm)
CmdLineParser.Option.DoubleOption
public CmdLineParser.Option.DoubleOption(String longForm)
parseValue
protected Object parseValue(String arg,
Locale locale)
throws CmdLineParser.IllegalOptionValueException
- Description copied from class:
CmdLineParser.Option
- Override to extract and convert an option value passed on the
command-line
- Overrides:
parseValue
in class CmdLineParser.Option
- Throws:
CmdLineParser.IllegalOptionValueException
Copyright © 2001-2003 Steve Purcell. Copyright © 2002 Vidar Holen. Copyright © 2002 Michal Ceresna. Copyright © 2005 Ewan Mellor. Released under the terms of the BSD licence.