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