net.dpml.cli.option
public class HelpLineImpl extends Object implements HelpLine
Version: @PROJECT-VERSION@
| Constructor Summary | |
|---|---|
| HelpLineImpl(Option option, int indent)
Creates a new HelpLineImpl to represent a particular Option in the online
help.
| |
| Method Summary | |
|---|---|
| String | getDescription() |
| int | getIndent() |
| Option | getOption() |
| String | usage(Set helpSettings, Comparator comparator)
Builds a usage string for the option using the specified settings and
comparator.
|
Parameters: option the Option that the HelpLineImpl describes indent the level of indentation for this line
Returns: The description of the option
Returns: The level of indentation for this line
Returns: The Option that the help line relates to
Parameters: helpSettings the settings to apply comparator a comparator to sort options when applicable
Returns: the usage string