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