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