Class ExceptionHtmlToc
java.lang.Object
org.spdx.htmltemplates.ExceptionHtmlToc
Generates the HTML Table of Contents for License Exceptions
- Author:
- Gary O'Neall
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classHolds the data one of the list rows of exceptions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDeprecatedException(org.spdx.library.model.v2.license.LicenseException exception, String exceptionHTMLReference, String deprecatedVersion) voidaddException(org.spdx.library.model.v2.license.LicenseException exception, String exceptionHTMLReference) Add an exception to the table of contentsvoidwriteToFile(File exceptionTocFile, String version) Creates and writes an Exception Table of Contents file
-
Constructor Details
-
ExceptionHtmlToc
public ExceptionHtmlToc()
-
-
Method Details
-
addException
public void addException(org.spdx.library.model.v2.license.LicenseException exception, String exceptionHTMLReference) throws org.spdx.core.InvalidSPDXAnalysisException Add an exception to the table of contents- Parameters:
exception-exceptionHTMLReference-- Throws:
org.spdx.core.InvalidSPDXAnalysisException
-
addDeprecatedException
-
writeToFile
public void writeToFile(File exceptionTocFile, String version) throws com.github.mustachejava.MustacheException, IOException Creates and writes an Exception Table of Contents file- Parameters:
exceptionTocFile- file to write toversion- Version of the License List- Throws:
IOExceptioncom.github.mustachejava.MustacheException
-