|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--arlut.csd.Util.ParseArgs
| Constructor Summary | |
private |
ParseArgs()
|
| Method Summary | |
static java.lang.String |
getArg(java.lang.String argument,
java.lang.String[] args)
Get the value of an argument Arguments should use this form: argument=value. |
static boolean |
switchExists(java.lang.String argument,
java.lang.String[] args)
Check for to see if an argument exists. |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
private ParseArgs()
| Method Detail |
public static boolean switchExists(java.lang.String argument,
java.lang.String[] args)
argument - The string to look for. If the string doesn't start with a dash(-), one will be prepended.args - The command line arguments passed to tbe main method.
public static java.lang.String getArg(java.lang.String argument,
java.lang.String[] args)
argument - The part of the argument before the equals sign.args - The comand line arguments passed to the main method.
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||