Class LicenseTOCHTMLFile
java.lang.Object
org.spdx.htmltemplates.LicenseTOCHTMLFile
This class holds a formatted HTML file for a license table of contents
- Author:
- Gary O'Neall
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDeprecatedLicense(org.spdx.library.model.v2.license.SpdxListedLicense deprecatedLicense, String licHTMLReference) voidaddLicense(org.spdx.library.model.v2.license.SpdxListedLicense license, String licHTMLReference) voidwriteToFile(File htmlFile)
-
Constructor Details
-
LicenseTOCHTMLFile
-
-
Method Details
-
addLicense
public void addLicense(org.spdx.library.model.v2.license.SpdxListedLicense license, String licHTMLReference) throws org.spdx.core.InvalidSPDXAnalysisException - Throws:
org.spdx.core.InvalidSPDXAnalysisException
-
writeToFile
public void writeToFile(File htmlFile) throws IOException, com.github.mustachejava.MustacheException - Throws:
IOExceptioncom.github.mustachejava.MustacheException
-
addDeprecatedLicense
public void addDeprecatedLicense(org.spdx.library.model.v2.license.SpdxListedLicense deprecatedLicense, String licHTMLReference) throws org.spdx.core.InvalidSPDXAnalysisException - Parameters:
deprecatedLicense-licHTMLReference-- Throws:
org.spdx.core.InvalidSPDXAnalysisException
-