Package org.apache.rat.help
Class Licenses
java.lang.Object
org.apache.rat.help.AbstractHelp
org.apache.rat.help.Licenses
Generates text based documentation for Licenses, LicenceFamilies, and Matchers.
Utilizes the same command line as the CLI based Report client so that additional licenses, etc. can be added.
-
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
ConstructorsConstructorDescriptionLicenses(UIOptionCollection<?> uiOptionCollection, ReportConfiguration config, Writer writer) Constructor -
Method Summary
Methods inherited from class org.apache.rat.help.AbstractHelp
createPadding, header
-
Constructor Details
-
Licenses
public Licenses(UIOptionCollection<?> uiOptionCollection, ReportConfiguration config, Writer writer) Constructor- Parameters:
uiOptionCollection- the option collection to generate the help for.config- The configuration that contains the license information.writer- the writer to write the report to.
-
-
Method Details
-
printHelp
Print the help text with the version information.- Throws:
IOException- on output error.
-
output
Output the License information without the version information.- Throws:
IOException- on error.
-