Class ExceptionHtml
java.lang.Object
org.spdx.htmltemplates.ExceptionHtml
Manages the production of an HTML file based on an SpdxLicenseRestriction (a.k.a License Exception)
- Author:
- Gary O'Neall
-
Constructor Summary
ConstructorsConstructorDescriptionExceptionHtml(org.spdx.library.model.v2.license.ListedLicenseException exception) -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteToFile(File exceptionHtmlFile, String exceptionHtmlTocReference)
-
Constructor Details
-
ExceptionHtml
public ExceptionHtml(org.spdx.library.model.v2.license.ListedLicenseException exception) throws org.spdx.licenseTemplate.InvalidLicenseTemplateException, org.spdx.core.InvalidSPDXAnalysisException - Parameters:
exception-- Throws:
org.spdx.licenseTemplate.InvalidLicenseTemplateExceptionorg.spdx.core.InvalidSPDXAnalysisException
-
-
Method Details
-
writeToFile
public void writeToFile(File exceptionHtmlFile, String exceptionHtmlTocReference) throws IOException, com.github.mustachejava.MustacheException - Parameters:
exceptionHtmlFile-exceptionHtmlTocReference-- Throws:
IOExceptioncom.github.mustachejava.MustacheException
-