public class HelpLineImpl extends java.lang.Object implements HelpLine
| Constructor and Description |
|---|
HelpLineImpl(Option option,
int indent)
Creates a new HelpLineImpl to represent a particular Option in the online
help.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription() |
int |
getIndent() |
Option |
getOption() |
java.lang.String |
usage(java.util.Set helpSettings,
java.util.Comparator comparator)
Builds a usage string for the option using the specified settings and
comparator.
|
public HelpLineImpl(Option option, int indent)
option - the Option that the HelpLineImpl describesindent - the level of indentation for this linepublic java.lang.String getDescription()
getDescription in interface HelpLinepublic int getIndent()
public java.lang.String usage(java.util.Set helpSettings, java.util.Comparator comparator)