|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Clapi.OptSpec | |
---|---|
edu.toronto.cs.util | Miscellaneous useful utility classes. |
Uses of Clapi.OptSpec in edu.toronto.cs.util |
---|
Methods in edu.toronto.cs.util that return Clapi.OptSpec | |
---|---|
Clapi.OptSpec |
Clapi.OptSpec.argumentArity(int v)
Specifies the number of arguments this parameter should receive. |
Clapi.OptSpec |
Clapi.OptSpec.description(java.lang.String v)
Specifies this option's description: used in usage information. |
Clapi.OptSpec |
Clapi.OptSpec.equals(java.lang.String v)
Adds a equals specifier to this option spec. |
Clapi.OptSpec |
Clapi.ArgumentParser.getSpec()
|
Clapi.OptSpec |
Clapi.Opt.getSpec()
|
Clapi.OptSpec |
Clapi.OptSpec.group(java.lang.String groupName)
Specifies this option's string group name. |
Clapi.OptSpec |
Clapi.OptSpec.list()
alias for maxArity (-1) |
Clapi.OptSpec |
Clapi.OptSpec.longName(java.lang.String v)
Adds a long name to this option spec. |
Clapi.OptSpec |
Clapi.OptSpec.maxArity(int v)
Specifies this option's maximum arity. |
Clapi.OptSpec |
Clapi.OptSpec.minArity(int v)
Specifies this option's minimum arity. |
Clapi.OptSpec |
Clapi.OptSpec.nameless()
Specifies that this option will be nameless. |
Clapi.OptSpec |
Clapi.OptParser.opt()
Start making a new Option. |
Clapi.OptSpec |
Clapi.OptSpec.optional()
alias for minArity (0) |
Clapi.OptSpec |
Clapi.OptSpec.prefix(java.lang.String v)
Adds a prefix specifier to this option spec. |
Clapi.OptSpec |
Clapi.OptSpec.required()
alias for minArity (1) |
Clapi.OptSpec |
Clapi.OptSpec.shortName(char v)
Adds a short name to this option spec. |
Clapi.OptSpec |
Clapi.OptSpec.suffix(java.lang.String v)
Adds a suffix specifier to this option spec. |
Clapi.OptSpec |
Clapi.OptSpec.terminal()
Specifies that this option should end the parsing of the tokens, and swallow all remaining tokens whole as its option value list. |
Constructors in edu.toronto.cs.util with parameters of type Clapi.OptSpec | |
---|---|
Clapi.BooleanOpt(Clapi.OptSpec _spec)
|
|
Clapi.FileNameOpt(Clapi.OptSpec _spec)
|
|
Clapi.HelpOpt(Clapi.OptSpec _spec)
|
|
Clapi.IntOpt(Clapi.OptSpec _spec)
|
|
Clapi.Opt(Clapi.OptSpec _spec)
|
|
Clapi.StringOpt(Clapi.OptSpec _spec)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |