public class HelpLineImpl extends 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 |
---|---|
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.
|
public HelpLineImpl(Option option, int indent)
option
- Option that the HelpLineImpl describesindent
- Level of indentation for this linepublic String getDescription()
getDescription
in interface HelpLine
public int getIndent()
public String usage(Set helpSettings, Comparator comparator)
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.