Package org.djutils.cli
Class CliUnitConverters.ABSOLUTETEMPERATURE
java.lang.Object
org.djutils.cli.CliUnitConverters.ABSOLUTETEMPERATURE
- All Implemented Interfaces:
CommandLine.ITypeConverter<AbsoluteTemperature>
- Enclosing class:
- CliUnitConverters
public static class CliUnitConverters.ABSOLUTETEMPERATURE extends Object implements CommandLine.ITypeConverter<AbsoluteTemperature>
Convert an absolute temperature String with unit on the command line to an AbsoluteTemperature scalar.
-
Constructor Summary
Constructors Constructor Description ABSOLUTETEMPERATURE()
-
Method Summary
Modifier and Type Method Description AbsoluteTemperature
convert(String value)
-
Constructor Details
-
ABSOLUTETEMPERATURE
public ABSOLUTETEMPERATURE()
-
-
Method Details
-
convert
@Generated(value="org.djunits.generator.GenerateCliConverters", date="2019-10-22T07:39:24.604Z") public AbsoluteTemperature convert(String value) throws Exception- Specified by:
convert
in interfaceCommandLine.ITypeConverter<AbsoluteTemperature>
- Throws:
Exception
-