com.uc4.ara.collabnet.JArgs
Class CmdLineParser.Option.DoubleOption
java.lang.Object
com.uc4.ara.collabnet.JArgs.CmdLineParser.Option<java.lang.Double>
com.uc4.ara.collabnet.JArgs.CmdLineParser.Option.DoubleOption
- Enclosing class:
- CmdLineParser.Option<T>
public static class CmdLineParser.Option.DoubleOption
- extends CmdLineParser.Option<java.lang.Double>
An option that expects a floating-point value
Method Summary |
protected java.lang.Double |
parseValue(java.lang.String arg,
java.util.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(java.lang.String shortForm,
java.lang.String longForm,
boolean required)
CmdLineParser.Option.DoubleOption
public CmdLineParser.Option.DoubleOption(java.lang.String longForm,
boolean required)
parseValue
protected java.lang.Double parseValue(java.lang.String arg,
java.util.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<java.lang.Double>
- Throws:
CmdLineParser.IllegalOptionValueException
Copyright © 2004-2013. All Rights Reserved.