Class CliUnitConverters.DIRECTION

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

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

    • DIRECTION

      public DIRECTION()
  • Method Details

    • convert

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