|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HelpPrinter
This interface is supposed to be implemented by all classes providing help printing capabilities.
Method Summary | |
---|---|
java.lang.String |
getCommandLine(OptionSet set,
java.lang.String leadingText,
boolean lineBreak)
Return a string with the command line syntax for this option set |
java.lang.String |
getHelpText(OptionSet set)
Return the help text describing the different options and data arguments |
Method Detail |
---|
java.lang.String getCommandLine(OptionSet set, java.lang.String leadingText, boolean lineBreak)
set
- The OptionSet
to format the output forleadingText
- The text to precede the command linelineBreak
- A boolean indicating whether the command line for the option set should
be printed with line breaks after each option or not
java.lang.String getHelpText(OptionSet set)
set
- The OptionSet
to format the output for
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |