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