Package jargs.gnu

Class CmdLineParser.Option

java.lang.Object
jargs.gnu.CmdLineParser.Option
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CmdLineParser.Option.BooleanOption, CmdLineParser.Option.DoubleOption, CmdLineParser.Option.IntegerOption, CmdLineParser.Option.LongOption, CmdLineParser.Option.StringOption
Enclosing class:
CmdLineParser

public abstract static class CmdLineParser.Option extends Object implements Serializable
Representation of a command-line option.
See Also:
  • Constructor Details

    • Option

      protected Option(String longForm, boolean wantsValue)
      Instantiates a new option.
      Parameters:
      longForm - the long form
      wantsValue - the wants value
    • Option

      protected Option(char shortForm, String longForm, boolean wantsValue)
      Instantiates a new option.
      Parameters:
      shortForm - the short form
      longForm - the long form
      wantsValue - the wants value
  • Method Details