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


Inner classes inherited from class jargs.gnu.CmdLineParser.Option
CmdLineParser.Option.BooleanOption, CmdLineParser.Option.DoubleOption, CmdLineParser.Option.IntegerOption, CmdLineParser.Option.StringOption
 
Constructor Summary
CmdLineParser.Option.DoubleOption(char shortForm, java.lang.String longForm)
           
 
Method Summary
protected  java.lang.Object 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 jargs.gnu.CmdLineParser.Option
getValue, longForm, shortForm, wantsValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmdLineParser.Option.DoubleOption

public CmdLineParser.Option.DoubleOption(char shortForm,
                                         java.lang.String longForm)
Method Detail

parseValue

protected java.lang.Object 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


Copyright © 2004 Sourceforge. All Rights Reserved.