Package org.apache.rat.anttasks
Class Help.AntHelpFormatter
java.lang.Object
org.apache.commons.cli.HelpFormatter
org.apache.rat.anttasks.Help.AntHelpFormatter
- Enclosing class:
- Help
public static class Help.AntHelpFormatter
extends org.apache.commons.cli.HelpFormatter
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.commons.cli.HelpFormatter
org.apache.commons.cli.HelpFormatter.Builder -
Field Summary
Fields inherited from class org.apache.commons.cli.HelpFormatter
DEFAULT_ARG_NAME, DEFAULT_DESC_PAD, DEFAULT_LEFT_PAD, DEFAULT_LONG_OPT_PREFIX, DEFAULT_LONG_OPT_SEPARATOR, DEFAULT_OPT_PREFIX, DEFAULT_SYNTAX_PREFIX, DEFAULT_WIDTH, defaultArgName, defaultDescPad, defaultLeftPad, defaultLongOptPrefix, defaultNewLine, defaultOptPrefix, defaultSyntaxPrefix, defaultWidth, optionComparator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionComparator<org.apache.commons.cli.Option>protected StringBufferrenderOptions(StringBuffer sb, int width, org.apache.commons.cli.Options options, int leftPad, int descPad)Methods inherited from class org.apache.commons.cli.HelpFormatter
builder, createPadding, findWrapPos, getArgName, getDescPadding, getDescription, getLeftPadding, getLongOptPrefix, getLongOptSeparator, getNewLine, getOptPrefix, getSyntaxPrefix, getWidth, printHelp, printHelp, printHelp, printHelp, printHelp, printHelp, printHelp, printHelp, printOptions, printUsage, printUsage, printWrapped, printWrapped, renderWrappedText, rtrim, setArgName, setDescPadding, setLeftPadding, setLongOptPrefix, setLongOptSeparator, setNewLine, setOptionComparator, setOptPrefix, setSyntaxPrefix, setWidth
-
Constructor Details
-
AntHelpFormatter
public AntHelpFormatter()
-
-
Method Details
-
getOptionComparator
- Overrides:
getOptionComparatorin classorg.apache.commons.cli.HelpFormatter
-
renderOptions
protected StringBuffer renderOptions(StringBuffer sb, int width, org.apache.commons.cli.Options options, int leftPad, int descPad)- Overrides:
renderOptionsin classorg.apache.commons.cli.HelpFormatter
-