Package org.djutils.cli
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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCliUnitConverters.ABSOLUTETEMPERATUREConvert an absolute temperature String with unit on the command line to an AbsoluteTemperature scalar.static classCliUnitConverters.ABSORBEDDOSEConvert an absorbed dose String with unit on the command line to an AbsorbedDose scalar.static classCliUnitConverters.ACCELERATIONConvert an acceleration String with unit on the command line to an Acceleration scalar.static classCliUnitConverters.AMOUNTOFSUBSTANCEConvert an amount of substance String with unit on the command line to an AmountOfSubstance scalar.static classCliUnitConverters.ANGLEConvert an angle String with unit on the command line to an Angle scalar.static classCliUnitConverters.ANGULARACCELERATIONConvert an angular acceleration String with unit on the command line to an AngularAcceleration scalar.static classCliUnitConverters.ANGULARVELOCITYConvert an angular velocity String with unit on the command line to an AngularVelocity scalar.static classCliUnitConverters.AREAConvert an area String with unit on the command line to an Area scalar.static classCliUnitConverters.CATALYTICACTIVITYConvert a catalytic activity String with unit on the command line to a CatalyticActivity scalar.static classCliUnitConverters.DENSITYConvert a density String with unit on the command line to a Density scalar.static classCliUnitConverters.DIMENSIONLESSConvert a dimensionless String with unit on the command line to a Dimensionless scalar.static classCliUnitConverters.DIRECTIONConvert a direction String with unit on the command line to a Direction scalar.static classCliUnitConverters.DURATIONConvert a duration String with unit on the command line to a Duration scalar.static classCliUnitConverters.ELECTRICALCAPACITANCEConvert an electrical capacitance String with unit on the command line to an ElectricalCapacitance scalar.static classCliUnitConverters.ELECTRICALCHARGEConvert an electrical charge String with unit on the command line to an ElectricalCharge scalar.static classCliUnitConverters.ELECTRICALCONDUCTANCEConvert an electrical conductance String with unit on the command line to an ElectricalConductance scalar.static classCliUnitConverters.ELECTRICALCURRENTConvert an electrical current String with unit on the command line to an ElectricalCurrent scalar.static classCliUnitConverters.ELECTRICALINDUCTANCEConvert an electrical inductance String with unit on the command line to an ElectricalInductance scalar.static classCliUnitConverters.ELECTRICALPOTENTIALConvert an electrical potential String with unit on the command line to an ElectricalPotential scalar.static classCliUnitConverters.ELECTRICALRESISTANCEConvert an electrical resistance String with unit on the command line to an ElectricalResistance scalar.static classCliUnitConverters.ENERGYConvert an energy String with unit on the command line to an Energy scalar.static classCliUnitConverters.EQUIVALENTDOSEConvert an equivalent dose String with unit on the command line to an EquivalentDose scalar.static classCliUnitConverters.FLOWMASSConvert a flow mass String with unit on the command line to a FlowMass scalar.static classCliUnitConverters.FLOWVOLUMEConvert a flow volume String with unit on the command line to a FlowVolume scalar.static classCliUnitConverters.FORCEConvert a force String with unit on the command line to a Force scalar.static classCliUnitConverters.FREQUENCYConvert a frequency String with unit on the command line to a Frequency scalar.static classCliUnitConverters.ILLUMINANCEConvert an illuminance String with unit on the command line to an Illuminance scalar.static classCliUnitConverters.LENGTHConvert a length String with unit on the command line to a Length scalar.static classCliUnitConverters.LINEARDENSITYConvert a linear density String with unit on the command line to a LinearDensity scalar.static classCliUnitConverters.LUMINOUSFLUXConvert a luminous flux String with unit on the command line to a LuminousFlux scalar.static classCliUnitConverters.LUMINOUSINTENSITYConvert a luminous intensity String with unit on the command line to a LuminousIntensity scalar.static classCliUnitConverters.MAGNETICFLUXConvert a magnetic flux String with unit on the command line to a MagneticFlux scalar.static classCliUnitConverters.MAGNETICFLUXDENSITYConvert a magnetic flux density String with unit on the command line to a MagneticFluxDensity scalar.static classCliUnitConverters.MASSConvert a mass String with unit on the command line to a Mass scalar.static classCliUnitConverters.MOMENTUMConvert a momentum String with unit on the command line to a Momentum scalar.static classCliUnitConverters.POSITIONConvert a position String with unit on the command line to a Position scalar.static classCliUnitConverters.POWERConvert a power String with unit on the command line to a Power scalar.static classCliUnitConverters.PRESSUREConvert a pressure String with unit on the command line to a Pressure scalar.static classCliUnitConverters.RADIOACTIVITYConvert a radio activity String with unit on the command line to a RadioActivity scalar.static classCliUnitConverters.SOLIDANGLEConvert a solid angle String with unit on the command line to a SolidAngle scalar.static classCliUnitConverters.SPEEDConvert a speed String with unit on the command line to a Speed scalar.static classCliUnitConverters.TEMPERATUREConvert a temperature String with unit on the command line to a Temperature scalar.static classCliUnitConverters.TIMEConvert a time String with unit on the command line to a Time scalar.static classCliUnitConverters.TORQUEConvert a torque String with unit on the command line to a Torque scalar.static classCliUnitConverters.VOLUMEConvert a volume String with unit on the command line to a Volume scalar.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidregisterAll(picocli.CommandLine cmd)Register all DJUNITS converters for a CommandLine.
-
-
-
Method Detail
-
registerAll
@Generated(value="org.djunits.generator.GenerateCliConverters", date="2020-01-17T12:27:20.797349900Z") public static void registerAll(picocli.CommandLine cmd)Register all DJUNITS converters for a CommandLine.- Parameters:
cmd- CommandLine; the CommandLine for which the DJUNITS converters should be registered
-
-