org.apache.commons.cli
public class GnuParser extends Parser
Version: $Revision: 1.10 $
See Also: Parser
Field Summary | |
---|---|
ArrayList | tokens holder for flattened tokens |
Method Summary | |
---|---|
protected String[] | flatten(Options options, String[] arguments, boolean stopAtNonOption) This flatten method does so using the following rules:
|
void | init() Resets the members to their original state i.e. remove
all of |
This flatten method does so using the following rules:
arguments
entry AND an {@link Option}
does not exist for the whole argument
then
add the first character as an option to the processed tokens
list e.g. "-D" and add the rest of the entry to the also.Resets the members to their original state i.e. remove
all of tokens
entries.