Uses of Class
org.kohsuke.args4j.ParserProperties
-
Packages that use ParserProperties Package Description org.kohsuke.args4j Core classes of the Args4J command line parser.org.kohsuke.args4j.spi Classes for extending the behavior of args4j. -
-
Uses of ParserProperties in org.kohsuke.args4j
Methods in org.kohsuke.args4j that return ParserProperties Modifier and Type Method Description static ParserProperties
ParserProperties. defaults()
Returns an instance of the default parser properties.ParserProperties
CmdLineParser. getProperties()
ParserProperties
ParserProperties. withAtSyntax(boolean atSyntax)
Toggles the parsing of @-prefixes in values.ParserProperties
ParserProperties. withOptionSorter(java.util.Comparator<OptionHandler> sorter)
Controls how options are sorted in the usage screen.ParserProperties
ParserProperties. withOptionValueDelimiter(java.lang.String v)
Sets the string used to separate option name and its value (such as --foo=bar vs --foo bar) Default to whitespace.ParserProperties
ParserProperties. withShowDefaults(boolean showDefaults)
Toggles the showing of default values in the command line help.ParserProperties
ParserProperties. withUsageWidth(int usageWidth)
Sets the width of a usage line.Constructors in org.kohsuke.args4j with parameters of type ParserProperties Constructor Description CmdLineParser(java.lang.Object bean, ParserProperties parserProperties)
Creates a new command line owner that parses arguments/options and set them into the given object. -
Uses of ParserProperties in org.kohsuke.args4j.spi
Methods in org.kohsuke.args4j.spi with parameters of type ParserProperties Modifier and Type Method Description java.lang.String
OptionHandler. getNameAndMeta(java.util.ResourceBundle rb, ParserProperties properties)
Get string representing usage for this option, of the form "name metaval" or "name=metaval, e.g.
-