Class CliUnitConverters.ENERGY

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

public static class CliUnitConverters.ENERGY extends Object implements picocli.CommandLine.ITypeConverter<org.djunits.value.vdouble.scalar.Energy>
Convert an energy String with unit on the command line to an Energy scalar.
  • Constructor Details

    • ENERGY

      public ENERGY()
  • Method Details

    • convert

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