Package org.djutils.cli
Class CliUtil.DoubleConverter
java.lang.Object
org.djutils.cli.CliUtil.DoubleConverter
- All Implemented Interfaces:
CommandLine.ITypeConverter<Double>
- Enclosing class:
- CliUtil
public static class CliUtil.DoubleConverter
extends Object
implements CommandLine.ITypeConverter<Double>
Convert a Double String on the command line to a Double, taking into account the locale.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DoubleConverter
public DoubleConverter()
-
-
Method Details
-
convert
- Specified by:
convert
in interfaceCommandLine.ITypeConverter<Double>
- Throws:
Exception
-