|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.commons.cli.Parser
org.apache.commons.cli.BasicParser
public class BasicParser
The class BasicParser provides a very simple implementation of
the flatten method.
Parser| Constructor Summary | |
|---|---|
BasicParser()
|
|
| Method Summary | |
|---|---|
protected java.lang.String[] |
flatten(Options options,
java.lang.String[] arguments,
boolean stopAtNonOption)
A simple implementation of Parser's abstract
flatten method. |
| Methods inherited from class org.apache.commons.cli.Parser |
|---|
parse, parse, parse, parse, processArgs |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicParser()
| Method Detail |
|---|
protected java.lang.String[] flatten(Options options,
java.lang.String[] arguments,
boolean stopAtNonOption)
A simple implementation of Parser's abstract
flatten method.
Note: options and stopAtNonOption
are not used in this flatten method.
flatten in class Parseroptions - The command line Optionsarguments - The command line arguments to be parsedstopAtNonOption - Specifies whether to stop flattening
when an non option is found.
arguments String array.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||