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