Frames | No Frames |
Constructors with parameter type net.dpml.cli.Option | |
Creates a new PreferencesCommandLine using the specified root Option and
Preferences node. | |
Creates a new PreferencesCommandLine using the specified root Option,
Preferences node and value separator. | |
Creates a new PropertiesCommandLine using the specified root Option,
Properties instance. | |
Creates a new PropertiesCommandLine using the specified root Option,
Properties instance and value separator. | |
Creates a new WriteableCommandLineImpl rooted on the specified Option, to
hold the parsed arguments. |
Methods with parameter type net.dpml.cli.Option | |
void | Add an option. |
void | Add a switch. |
void | Add an option. |
int | Retrieves the number of times the specified Option appeared in this
CommandLine
|
Boolean | Retrieves the Boolean value associated with the specified Switch
|
Boolean | Retrieves the Boolean value associated with the specified Switch
|
Boolean | Retrieves the Boolean value associated with the specified Switch
|
Boolean | Retrieves the Boolean value associated with the specified Switch
|
Boolean | Retrieves the Boolean value associated with the specified Switch
|
Object | Retrieves the single Argument value associated with the specified Option
|
Object | Retrieves the single Argument value associated with the specified Option
|
List | Retrieves the Argument values associated with the specified Option
|
List | Retrieves the Argument values associated with the specified Option
|
List | Retrieves the Argument values associated with the specified Option
|
List | Retrieves the Argument values associated with the specified Option
|
List | Retrieves the Argument values associated with the specified Option
|
boolean | Detects the presence of an option in this CommandLine. |
boolean | Detects the presence of an option in this CommandLine. |
boolean | Detects the presence of an option in this CommandLine. |
boolean | Detects the presence of an option in this CommandLine. |
void | Set default switch. |
void | Set default values. |
void | Sets the help option to use with the simplified parsing. |
Methods with return type net.dpml.cli.Option | |
Option | DefaultingCommandLine.getOption(String trigger) Finds the Option with the specified trigger
|
Option | PreferencesCommandLine.getOption(String trigger) Finds the Option with the specified trigger
|
Option | PropertiesCommandLine.getOption(String trigger) Finds the Option with the specified trigger
|
Option | WriteableCommandLineImpl.getOption(String trigger) Finds the Option with the specified trigger
|
Classes implementing net.dpml.cli.Option | |
class | An implementation of an Argument. |
class | Represents a cvs "update" style command line option. |
class | A Parent implementation representing normal options. |
class | An implementation of Group
|
class | A base implementation of Option providing limited ground work for further
Option implementations. |
class | A base implementation of Parent providing limited ground work for further
Parent implementations. |
class | Handles the java style "-Dprop=value" opions
|
class | An Argument implementation that allows a variable size Argument to precede a
fixed size argument. |
class | A Parent implementation representing normal switch options. |
Constructors with parameter type net.dpml.cli.Option | |
Creates a new HelpLineImpl to represent a particular Option in the online
help. |
Methods with parameter type net.dpml.cli.Option | |
void | Adds defaults to a CommandLine. |
void | Processes the "README" style element of the argument. |
void | Performs any necessary validation on the values added to the
CommandLine. |
void | Checks that the supplied CommandLine is valid with respect to the
suppled option. |
Methods with return type net.dpml.cli.Option | |
Option | GroupImpl.findOption(String trigger) Recursively searches for an option with the supplied trigger. |
Option | OptionImpl.findOption(String trigger) Recursively searches for an option with the supplied trigger. |
Option | ParentImpl.findOption(String trigger) Recursively searches for an option with the supplied trigger. |
Option |
Constructors with parameter type net.dpml.cli.Option | |
Creates a new OptionException. | |
Creates a new OptionException. | |
Creates a new OptionException. |
Methods with parameter type net.dpml.cli.Option | |
void | Adds an Option to the CommandLine
|
void | Adds a switch value to an Option in the CommandLine. |
void | Adds a value to an Option in the CommandLine. |
void | Adds defaults to a CommandLine. |
int | Retrieves the number of times the specified Option appeared in this
CommandLine
|
Boolean | Retrieves the Boolean value associated with the specified Switch
|
Boolean | Retrieves the Boolean value associated with the specified Switch
|
Object | Retrieves the single Argument value associated with the specified Option
|
Object | Retrieves the single Argument value associated with the specified Option
|
List | Retrieves the Argument values associated with the specified Option
|
List | Retrieves the Argument values associated with the specified Option
|
boolean | Detects the presence of an option in this CommandLine. |
void | Processes the "README" style element of the argument. |
void | Sets the default state for a Switch in the CommandLine. |
void | Sets the default values for an Option in the CommandLine
|
void | Performs any necessary validation on the values added to the
CommandLine. |
Methods with return type net.dpml.cli.Option | |
Option | Option.findOption(String trigger) Recursively searches for an option with the supplied trigger. |
Option | |
Option | Gets the Option the exception relates to
|
Option | CommandLine.getOption(String trigger) Finds the Option with the specified trigger
|
Methods with parameter type net.dpml.cli.Option | |
GroupBuilder | Add this option to the group
|
Methods with return type net.dpml.cli.Option | |
Option | Creates a new Option instance. |