|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.co.grahamcox.spring.cli.Arguments
public class Arguments
Wrapper around the arguments to the application
| Constructor Summary | |
|---|---|
Arguments(String[] args)
Create the wrapper |
|
| Method Summary | |
|---|---|
String |
getArgument(int index)
Get a specific argument |
String[] |
getArguments()
Get the arguments themselves |
int |
getNumberOfArguments()
Get the number of arguments |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Arguments(String[] args)
args - the arguments| Method Detail |
|---|
public String[] getArguments()
public int getNumberOfArguments()
public String getArgument(int index)
index - the index of the argument to get
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||