Package org.djutils.cli
Class CliUnitConverters.TORQUE
java.lang.Object
org.djutils.cli.CliUnitConverters.TORQUE
- All Implemented Interfaces:
CommandLine.ITypeConverter<org.djunits.value.vdouble.scalar.Torque>
- Enclosing class:
- CliUnitConverters
public static class CliUnitConverters.TORQUE
extends Object
implements CommandLine.ITypeConverter<org.djunits.value.vdouble.scalar.Torque>
Convert a torque String with unit on the command line to a Torque scalar.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
TORQUE
public TORQUE()
-
-
Method Details
-
convert
@Generated(value="org.djunits.generator.GenerateCliConverters", date="2020-01-17T12:27:20.797349900Z") public org.djunits.value.vdouble.scalar.Torque convert(String value) throws Exception - Specified by:
convert
in interfaceCommandLine.ITypeConverter<org.djunits.value.vdouble.scalar.Torque>
- Throws:
Exception
-