public class AvaOptions extends Object
Constructor and Description |
---|
AvaOptions() |
Modifier and Type | Method and Description |
---|---|
static boolean |
getBoolValue(String param,
String[] args)
Checks whether a given parameter is present
|
static double |
getDoubleValue(String param,
String[] args)
Get the double value of a given parameter
|
static int |
getIntValue(String param,
String[] args)
Get the integer value of a given parameter
|
static String |
getStringValue(String param,
String[] args)
Get the string value of a given parameter
|
public static int getIntValue(String param, String[] args)
param
- the name of the target parameterargs
- arguments of a commandpublic static double getDoubleValue(String param, String[] args)
param
- the name of the target parameterargs
- arguments of a commandpublic static boolean getBoolValue(String param, String[] args)
param
- the name of the target parameterargs
- arguments of a commandCopyright © 2005–2020. All rights reserved.