DefaultParser
instead@Deprecated public class GnuParser extends Parser
flatten
method.Constructor and Description |
---|
GnuParser()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected String[] |
flatten(Options options,
String[] arguments,
boolean stopAtNonOption)
Deprecated.
|
checkRequiredOptions, getOptions, getRequiredOptions, parse, parse, parse, parse, processArgs, processOption, processProperties, setOptions
protected String[] flatten(Options options, String[] arguments, boolean stopAtNonOption)
Option
exists for the first character of
the arguments
entry AND an 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.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.