Package org.apache.rat.help
Class Help
java.lang.Object
org.apache.rat.help.AbstractHelp
org.apache.rat.help.Help
The help output for the command line client.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.rat.help.AbstractHelp
AbstractHelp.RatHelpFormatter
-
Field Summary
Fields inherited from class org.apache.rat.help.AbstractHelp
DEPRECATED_MSG, HELP_PADDING, HELP_WIDTH, helpFormatter, versionInfo
-
Constructor Summary
ConstructorsConstructorDescriptionHelp
(PrintStream stream) Creates a Help instance to print to the specified stream.Creates a Help instance to write to the specified writer. -
Method Summary
Modifier and TypeMethodDescriptionPrints the list of argument types to the writer.void
printUsage
(org.apache.commons.cli.Options opts) Print the usage to the specific PrintWriter.Methods inherited from class org.apache.rat.help.AbstractHelp
createPadding, header
-
Constructor Details
-
Help
Creates a Help instance to write to the specified writer.- Parameters:
writer
- the writer to write to.
-
Help
Creates a Help instance to print to the specified stream.- Parameters:
stream
- the PrintStream to write to.
-
-
Method Details
-
printUsage
public void printUsage(org.apache.commons.cli.Options opts) Print the usage to the specific PrintWriter.- Parameters:
opts
- The defined options.
-
printArgumentTypes
Prints the list of argument types to the writer.- Returns:
- returns the padding for the arguments.
-