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