public class ArgumentsUtil
extends Object
Constructor and Description |
---|
ArgumentsUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
getBoolean(Map<String,String> arguments,
String key,
boolean defaultValue) |
static int |
getInteger(Map<String,String> arguments,
String key,
int defaultValue) |
static String |
getString(Map<String,String> arguments,
String key,
String defaultValue) |
static Map<String,String> |
parseArguments(String[] args) |
static void |
processMainException(Map<String,String> arguments,
Exception e) |
public static boolean getBoolean(Map<String,String> arguments, String key, boolean defaultValue)
public static int getInteger(Map<String,String> arguments, String key, int defaultValue)
public static String getString(Map<String,String> arguments, String key, String defaultValue)
public static Map<String,String> parseArguments(String[] args)
public static void processMainException(Map<String,String> arguments, Exception e) throws Exception
Exception