Class ExceptionHtmlToc

java.lang.Object
org.spdx.htmltemplates.ExceptionHtmlToc

public class ExceptionHtmlToc extends Object
Generates the HTML Table of Contents for License Exceptions
Author:
Gary O'Neall
  • 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

      public void addDeprecatedException(org.spdx.library.model.v2.license.LicenseException exception, String exceptionHTMLReference, String deprecatedVersion) throws org.spdx.core.InvalidSPDXAnalysisException
      Throws:
      org.spdx.core.InvalidSPDXAnalysisException
    • 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 to
      version - Version of the License List
      Throws:
      IOException
      com.github.mustachejava.MustacheException