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="2020-01-17T12:27:20.797349900Z") public AbsoluteTemperature convert(String value) throws Exception- Specified by:
convert
in interfaceCommandLine.ITypeConverter<AbsoluteTemperature>
- Throws:
Exception
-