org.apache.commons.cli
Class BasicParser
- CommandLineParser
The class BasicParser provides a very simple implementation of
the
flatten method.
- John Keyes (john at integralsource.com)
protected String[] | flatten(Options options, String[] arguments, boolean stopAtNonOption)- A simple implementation of
Parser's abstract
flatten method.
|
flatten
protected String[] flatten(Options options,
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 interface Parser
options - The command line Optionsarguments - The command line arguments to be parsedstopAtNonOption - Specifies whether to stop flattening
when an non option is found.
- The
arguments String array.