Uses of Class
org.kohsuke.args4j.ParserProperties
Packages that use ParserProperties
Package
Description
Core classes of the Args4J command line parser.
Classes for extending the behavior of args4j.
-
Uses of ParserProperties in org.kohsuke.args4j
Fields in org.kohsuke.args4j declared as ParserPropertiesModifier and TypeFieldDescriptionprivate ParserProperties
CmdLineParser.parserProperties
settings for the parserMethods in org.kohsuke.args4j that return ParserPropertiesModifier and TypeMethodDescriptionstatic ParserProperties
ParserProperties.defaults()
Returns an instance of the default parser properties.CmdLineParser.getProperties()
ParserProperties.withAtSyntax
(boolean atSyntax) Toggles the parsing of @-prefixes in values.ParserProperties.withOptionSorter
(Comparator<OptionHandler> sorter) Controls how options are sorted in the usage screen.ParserProperties.withOptionValueDelimiter
(String v) Sets the string used to separate option name and its value (such as --foo=bar vs --foo bar) Default to whitespace.ParserProperties.withShowDefaults
(boolean showDefaults) Toggles the showing of default values in the command line help.ParserProperties.withUsageWidth
(int usageWidth) Sets the width of a usage line.Constructors in org.kohsuke.args4j with parameters of type ParserPropertiesModifierConstructorDescriptionCmdLineParser
(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 ParserPropertiesModifier and TypeMethodDescriptionfinal String
OptionHandler.getNameAndMeta
(ResourceBundle rb, ParserProperties properties) Get string representing usage for this option, of the form "name metaval" or "name=metaval, e.g.