| java.lang.Object org.apache.commons.cli.Parser org.apache.commons.cli.BasicParser
Method Summary | |
protected String[] | flatten(Options options, String[] arguments, boolean stopAtNonOption) A simple implementation of
Parser 's abstract
Parser.flatten(OptionsString[]boolean) flatten method.
Note: options and stopAtNonOption
are not used in this flatten method.
Parameters: options - The command line Options Parameters: arguments - The command line arguments to be parsed Parameters: stopAtNonOption - Specifies whether to stop flatteningwhen an non option is found. |
flatten | protected String[] flatten(Options options, String[] arguments, boolean stopAtNonOption)(Code) | | A simple implementation of
Parser 's abstract
Parser.flatten(OptionsString[]boolean) flatten method.
Note: options and stopAtNonOption
are not used in this flatten method.
Parameters: options - The command line Options Parameters: arguments - The command line arguments to be parsed Parameters: stopAtNonOption - Specifies whether to stop flatteningwhen an non option is found. The arguments String array. |
Methods inherited from org.apache.commons.cli.Parser | abstract protected String[] flatten(Options opts, String[] arguments, boolean stopAtNonOption)(Code)(Java Doc) public CommandLine parse(Options options, String[] arguments) throws ParseException(Code)(Java Doc) public CommandLine parse(Options options, String[] arguments, Properties properties) throws ParseException(Code)(Java Doc) public CommandLine parse(Options options, String[] arguments, boolean stopAtNonOption) throws ParseException(Code)(Java Doc) public CommandLine parse(Options options, String[] arguments, Properties properties, boolean stopAtNonOption) throws ParseException(Code)(Java Doc) public void processArgs(Option opt, ListIterator iter) throws ParseException(Code)(Java Doc)
|
|
|