Class CliUnitConverters.DENSITY

java.lang.Object
org.djutils.cli.CliUnitConverters.DENSITY
All Implemented Interfaces:
CommandLine.ITypeConverter<org.djunits.value.vdouble.scalar.Density>
Enclosing class:
CliUnitConverters

public static class CliUnitConverters.DENSITY extends Object implements CommandLine.ITypeConverter<org.djunits.value.vdouble.scalar.Density>
Convert a density String with unit on the command line to a Density scalar.
  • Constructor Details

    • DENSITY

      public DENSITY()
  • Method Details

    • convert

      @Generated(value="org.djunits.generator.GenerateCliConverters", date="2025-06-07T10:15:31.719700800Z") public org.djunits.value.vdouble.scalar.Density convert(String value) throws Exception
      Specified by:
      convert in interface CommandLine.ITypeConverter<org.djunits.value.vdouble.scalar.Density>
      Throws:
      Exception