public class CommandLineArgs extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) List<String> |
args |
(package private) Map<String,String> |
options |
| Constructor and Description |
|---|
CommandLineArgs(String[] args) |
| Modifier and Type | Method and Description |
|---|---|
void |
dumpArgs() |
static Properties |
expandSystemProperties(Properties p) |
List<String> |
getArguments() |
String |
getOption(String key) |
String |
getOption(String key,
String defaultValue) |
protected String |
getOptionName(String opt) |
Map<String,String> |
getOptions() |
static void |
main(String[] args) |
static void |
populateSystemProperties(Properties p) |
void |
setSystemProperties(String prefix) |
public CommandLineArgs(String[] args)
public void setSystemProperties(String prefix)
public void dumpArgs()
public static Properties expandSystemProperties(Properties p)
public static void populateSystemProperties(Properties p)
public static void main(String[] args)
Copyright © 2018. All rights reserved.