Class AbstractHelp
java.lang.Object
org.apache.rat.help.AbstractHelp
The base class to perform Help processing for programs.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassProvides help for formatting text. -
Field Summary
FieldsModifier and TypeFieldDescriptionFunction to format deprecated displaystatic final intThe number of chars to indent output with.static final intThe width of the help report in chars.protected final AbstractHelp.RatHelpFormatterThe help formatter for this instanceprotected final VersionInfoThe version info for this instance -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcreatePadding(int len) Create a padding.static StringCreate a section header for the output.
-
Field Details
-
HELP_WIDTH
public static final int HELP_WIDTHThe width of the help report in chars.- See Also:
-
HELP_PADDING
public static final int HELP_PADDINGThe number of chars to indent output with.- See Also:
-
helpFormatter
The help formatter for this instance -
versionInfo
The version info for this instance -
DEPRECATED_MSG
-
-
Constructor Details
-
AbstractHelp
protected AbstractHelp()Base class to perform help output.
-
-
Method Details
-
createPadding
Create a padding.- Parameters:
len- The length of the padding in characters.- Returns:
- a string with len blanks.
-
header
-