# Uses of Class
jargs.gnu.CmdLineParser.Option

Packages that use CmdLineParser.Option
Package
Description
jargs.gnu
Jargs GNU package.

- ## Uses of CmdLineParser.Option in jargs.gnu

  Subclasses of CmdLineParser.Option in jargs.gnu
  Modifier and Type
  Class
  Description
  `static class`
  `CmdLineParser.Option.BooleanOption`
  The Class BooleanOption.
  `static class`
  `CmdLineParser.Option.DoubleOption`
  An option that expects a floating-point value.
  `static class`
  `CmdLineParser.Option.IntegerOption`
  An option that expects an integer value.
  `static class`
  `CmdLineParser.Option.LongOption`
  An option that expects a long integer value.
  `static class`
  `CmdLineParser.Option.StringOption`
  An option that expects a string value.
  Methods in jargs.gnu that return CmdLineParser.Option
  Modifier and Type
  Method
  Description
  `final CmdLineParser.Option`
  CmdLineParser.`addBooleanOption(char shortForm, String longForm)`
  Convenience method for adding a boolean option.
  `final CmdLineParser.Option`
  CmdLineParser.`addBooleanOption(String longForm)`
  Convenience method for adding a boolean option.
  `final CmdLineParser.Option`
  CmdLineParser.`addDoubleOption(char shortForm, String longForm)`
  Convenience method for adding a double option.
  `final CmdLineParser.Option`
  CmdLineParser.`addDoubleOption(String longForm)`
  Convenience method for adding a double option.
  `final CmdLineParser.Option`
  CmdLineParser.`addIntegerOption(char shortForm, String longForm)`
  Convenience method for adding an integer option.
  `final CmdLineParser.Option`
  CmdLineParser.`addIntegerOption(String longForm)`
  Convenience method for adding an integer option.
  `final CmdLineParser.Option`
  CmdLineParser.`addLongOption(char shortForm, String longForm)`
  Convenience method for adding a long integer option.
  `final CmdLineParser.Option`
  CmdLineParser.`addLongOption(String longForm)`
  Convenience method for adding a long integer option.
  `final CmdLineParser.Option`
  CmdLineParser.`addOption(CmdLineParser.Option opt)`
  Add the specified Option to the list of accepted options.
  `final CmdLineParser.Option`
  CmdLineParser.`addStringOption(char shortForm, String longForm)`
  Convenience method for adding a string option.
  `final CmdLineParser.Option`
  CmdLineParser.`addStringOption(String longForm)`
  Convenience method for adding a string option.
  `CmdLineParser.Option`
  CmdLineParser.IllegalOptionValueException.`getOption()`
  Gets the option.
  Methods in jargs.gnu with parameters of type CmdLineParser.Option
  Modifier and Type
  Method
  Description
  `final CmdLineParser.Option`
  CmdLineParser.`addOption(CmdLineParser.Option opt)`
  Add the specified Option to the list of accepted options.
  `final Object`
  CmdLineParser.`getOptionValue(CmdLineParser.Option o)`
  Equivalent to `getOptionValue(o, null)`.
  `final Object`
  CmdLineParser.`getOptionValue(CmdLineParser.Option o, Object def)`
  Gets the option value.
  `final List<String>`
  CmdLineParser.`getOptionValues(CmdLineParser.Option option)`
  Gets the option values.
  Constructors in jargs.gnu with parameters of type CmdLineParser.Option
  Modifier
  Constructor
  Description
  ``
  `IllegalOptionValueException(CmdLineParser.Option opt, String value)`
  Instantiates a new illegal option value exception.