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