Example usage for Java org.apache.commons.cli2.util HelpFormatter fields, constructors, methods, implement or subclass
The text is from its open source code.
HelpFormatter() Creates a new HelpFormatter using the defaults | |
HelpFormatter(final String gutterLeft, final String gutterCenter, final String gutterRight, final int fullWidth) Creates a new HelpFormatter using the specified parameters |
Set | getDisplaySettings() |
Set | getFullUsageSettings() |
Set | getLineUsageSettings() |
int | getPageWidth() |
void | print() Prints the Option help. |
void | printFooter() Prints a footer string if necessary |
void | printHeader() Prints a header string if necessary |
void | printHelp() Prints detailed help per option. |
void | printUsage() Prints a single line of usage information (wrapping if necessary) |
void | setDivider(String divider) Sets the string to use as a divider between sections of help |
void | setException(OptionException exception) Sets the exception to document |
void | setFooter(String footer) Sets the footer text of the help screen |
void | setGroup(Group group) Sets the Group of Options to document |
void | setHeader(String header) Sets the footer text of the help screen |
void | setPrintWriter(PrintWriter out) |
void | setShellCommand(String shellCommand) Sets the command string used to invoke the application |