|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CommandLineParser
A class that implements the CommandLineParser interface
can parse a String array according to the Options specified
and return a CommandLine.
| Method Summary | |
|---|---|
CommandLine |
parse(Options options,
java.lang.String[] arguments)
Parse the arguments according to the specified options. |
CommandLine |
parse(Options options,
java.lang.String[] arguments,
boolean stopAtNonOption)
Parse the arguments according to the specified options. |
| Method Detail |
|---|
CommandLine parse(Options options,
java.lang.String[] arguments)
throws ParseException
options - the specified Optionsarguments - the command line arguments
ParseException - if there are any problems encountered
while parsing the command line tokens.
CommandLine parse(Options options,
java.lang.String[] arguments,
boolean stopAtNonOption)
throws ParseException
options - the specified Optionsarguments - the command line argumentsstopAtNonOption - specifies whether to continue parsing the
arguments if a non option is encountered.
ParseException - if there are any problems encountered
while parsing the command line tokens.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||