Class LicenseTOCHTMLFile

java.lang.Object
org.spdx.htmltemplates.LicenseTOCHTMLFile

public class LicenseTOCHTMLFile extends Object
This class holds a formatted HTML file for a license table of contents
Author:
Gary O'Neall
  • Constructor Details

    • LicenseTOCHTMLFile

      public LicenseTOCHTMLFile(String version, String releaseDate)
  • 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:
      IOException
      com.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