Package org.djutils.cli
Class CliUnitConverters.AMOUNTOFSUBSTANCE
java.lang.Object
org.djutils.cli.CliUnitConverters.AMOUNTOFSUBSTANCE
- All Implemented Interfaces:
 CommandLine.ITypeConverter<AmountOfSubstance>
- Enclosing class:
 - CliUnitConverters
 
public static class CliUnitConverters.AMOUNTOFSUBSTANCE
extends Object
implements CommandLine.ITypeConverter<AmountOfSubstance>
Convert an amount of substance String with unit on the command line to an AmountOfSubstance scalar.
- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
AMOUNTOFSUBSTANCE
public AMOUNTOFSUBSTANCE() 
 - 
 - 
Method Details
- 
convert
@Generated(value="org.djunits.generator.GenerateCliConverters", date="2025-06-07T10:15:31.719700800Z") public AmountOfSubstance convert(String value) throws Exception - Specified by:
 convertin interfaceCommandLine.ITypeConverter<AmountOfSubstance>- Throws:
 Exception
 
 -