Package org.kohsuke.args4j.spi

## Class DoubleOptionHandler

- java.lang.Object
- - org.kohsuke.args4j.spi.OptionHandler<T>
  - - org.kohsuke.args4j.spi.OneArgumentOptionHandler<java.lang.Double>
    - - org.kohsuke.args4j.spi.DoubleOptionHandler

    public class DoubleOptionHandler
    extends OneArgumentOptionHandler<java.lang.Double>

`Double` `OptionHandler`. `OneArgumentOptionHandler`

Author:
  Leif Wickland

### Field Summary

### Fields inherited from class org.kohsuke.args4j.spi.OptionHandler

`option, owner, setter`

### Constructor Summary

Constructors
`DoubleOptionHandler​(CmdLineParser parser, OptionDef option, Setter<? super java.lang.Double> setter)`

### Method Summary

All Methods Instance Methods Concrete Methods
`protected java.lang.Double` `parse​(java.lang.String argument)` Parses a string to a real value of Type <T>.

### Methods inherited from class org.kohsuke.args4j.spi.OneArgumentOptionHandler

`getDefaultMetaVariable, parseArguments`

### Methods inherited from class org.kohsuke.args4j.spi.OptionHandler

`getMetaVariable, getNameAndMeta, getNameAndMeta, print, printDefaultValue`

### Methods inherited from class java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

### Constructor Detail

#### DoubleOptionHandler

    public DoubleOptionHandler​(CmdLineParser parser,
                               OptionDef option,
                               Setter<? super java.lang.Double> setter)

### Method Detail

#### parse

    protected java.lang.Double parse​(java.lang.String argument)
                              throws java.lang.NumberFormatException

Description copied from class: `OneArgumentOptionHandler`
Parses a string to a real value of Type <T>.

Specified by:
  `parse` in class `OneArgumentOptionHandler<java.lang.Double>`
Parameters:
  `argument` - String value to parse
Returns:
  the parsed value
Throws:
  `java.lang.NumberFormatException` - if parsing is not possible