Class CliUnitConverters.TEMPERATURE

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

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

    • TEMPERATURE

      public TEMPERATURE()
  • Method Details

    • convert

      @Generated(value="org.djunits.generator.GenerateCliConverters", date="2020-01-17T12:27:20.797349900Z") public org.djunits.value.vdouble.scalar.Temperature convert(String value) throws Exception
      Specified by:
      convert in interface CommandLine.ITypeConverter<org.djunits.value.vdouble.scalar.Temperature>
      Throws:
      Exception