|
args4j 2.0.12-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Parameters
List of arguments.
Object of this interface is passed to
OptionHandler
s to make it easy/safe to parse
additional parameters for options.
Method Summary | |
---|---|
String |
getParameter(int idx)
Gets the additional parameter to this option. |
Method Detail |
---|
String getParameter(int idx) throws CmdLineException
idx
- specifying 0 will retrieve the token next to the option.
For example, if the command line looks like "-o abc -d x",
then getParameter(0)
for "-o" returns "abc"
and getParameter(1)
will return "-d".
CmdLineException
.
CmdLineException
|
args4j 2.0.12-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |