Package org.spdx.htmltemplates
Class ExceptionHtml
java.lang.Object
org.spdx.htmltemplates.ExceptionHtml
public class ExceptionHtml extends Object
Manages the production of an HTML file based on an SpdxLicenseRestriction (a.k.a License Exception)
- Author:
- Gary O'Neall
-
Constructor Summary
Constructors Constructor Description ExceptionHtml(org.spdx.library.model.license.ListedLicenseException exception) -
Method Summary
Modifier and Type Method Description voidwriteToFile(File exceptionHtmlFile, String exceptionHtmlTocReference)
-
Constructor Details
-
ExceptionHtml
public ExceptionHtml(org.spdx.library.model.license.ListedLicenseException exception) throws org.spdx.licenseTemplate.InvalidLicenseTemplateException, org.spdx.library.InvalidSPDXAnalysisException- Parameters:
exception-- Throws:
org.spdx.licenseTemplate.InvalidLicenseTemplateExceptionorg.spdx.library.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
-