Uses of Class
org.apache.commons.cli.OptionBuilder

Uses of OptionBuilder in org.apache.commons.cli
 

Methods in org.apache.commons.cli that return OptionBuilder
static OptionBuilder OptionBuilder.withLongOpt(String longopt)
          The next Option created will have the following long option value.
static OptionBuilder OptionBuilder.hasArg()
          The next Option created will require an argument value.
static OptionBuilder OptionBuilder.hasArg(boolean hasArg)
          The next Option created will require an argument value if hasArg is true.
static OptionBuilder OptionBuilder.withArgName(String name)
          The next Option created will have the specified argument value name.
static OptionBuilder OptionBuilder.isRequired()
          The next Option created will be required.
static OptionBuilder OptionBuilder.withValueSeparator(char sep)
          The next Option created uses sep as a means to separate argument values.
static OptionBuilder OptionBuilder.withValueSeparator()
          The next Option created uses '=' as a means to separate argument values.
static OptionBuilder OptionBuilder.isRequired(boolean required)
          The next Option created will be required if required is true.
static OptionBuilder OptionBuilder.hasArgs()
          The next Option created can have unlimited argument values.
static OptionBuilder OptionBuilder.hasArgs(int num)
          The next Option created can have num argument values.
static OptionBuilder OptionBuilder.hasOptionalArg()
          The next Option can have an optional argument.
static OptionBuilder OptionBuilder.hasOptionalArgs()
          The next Option can have an unlimited number of optional arguments.
static OptionBuilder OptionBuilder.hasOptionalArgs(int numArgs)
          The next Option can have the specified number of optional arguments.
static OptionBuilder OptionBuilder.withType(Object type)
          The next Option created will have a value that will be an instance of type.
static OptionBuilder OptionBuilder.withDescription(String description)
          The next Option created will have the specified description
 



Copyright © 2002-2004 Apache Software Foundation. All Rights Reserved.