|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectde.pado.dv.CommandLineMap
public class CommandLineMap
CommandLineMap is provides a simple interface to command line parameters (unary) and options (nullary).
| Constructor Summary | |
|---|---|
CommandLineMap(java.lang.String[] args,
java.util.List knownArgs)
CommandLineMap is initialized with actual command line arguments (args) and the set of known parameters options (knownArgs) specified as an array of Strings. |
|
| Method Summary | |
|---|---|
boolean |
exists(java.lang.String key)
tests whether a particular command line argument exists |
java.lang.String |
get(java.lang.String key)
returns the value of a particular command line argument key. |
boolean |
isOption(java.lang.String key)
tests whether a particular command line argument is an option. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommandLineMap(java.lang.String[] args,
java.util.List knownArgs)
| Method Detail |
|---|
public boolean exists(java.lang.String key)
public boolean isOption(java.lang.String key)
public java.lang.String get(java.lang.String key)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||