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