Package org.djutils.cli
Class CliUnitConverters.TEMPERATURE
java.lang.Object
org.djutils.cli.CliUnitConverters.TEMPERATURE
- All Implemented Interfaces:
CommandLine.ITypeConverter<Temperature>
- Enclosing class:
- CliUnitConverters
public static class CliUnitConverters.TEMPERATURE
extends Object
implements CommandLine.ITypeConverter<Temperature>
Convert a temperature String with unit on the command line to a Temperature scalar.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TEMPERATURE
public TEMPERATURE()
-
-
Method Details
-
convert
@Generated(value="org.djunits.generator.GenerateCliConverters", date="2025-06-07T10:15:31.719700800Z") public Temperature convert(String value) throws Exception - Specified by:
convertin interfaceCommandLine.ITypeConverter<Temperature>- Throws:
Exception
-