Class CliUnitConverters

java.lang.Object
org.djutils.cli.CliUnitConverters

public final class CliUnitConverters extends Object
CliUnitConverters offers conversion methods for DJUNITS scalars so these can be used on the command line, e.g.:
 java -jar ProgramApp.jar --timeout=5min
 

Copyright (c) 2003-2018 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl. The source code and binary code of this software is proprietary information of Delft University of Technology.
Author:
Alexander Verbraeck
  • Method Details

    • registerAll

      @Generated(value="org.djunits.generator.GenerateCliConverters", date="2020-01-17T12:27:20.797349900Z") public static void registerAll(CommandLine cmd)
      Register all DJUNITS converters for a CommandLine.
      Parameters:
      cmd - CommandLine; the CommandLine for which the DJUNITS converters should be registered