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

  • Method Details

    • addLicense

      public void addLicense​(org.spdx.library.model.license.SpdxListedLicense license, String licHTMLReference) throws org.spdx.library.InvalidSPDXAnalysisException
      Throws:
      org.spdx.library.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.license.SpdxListedLicense deprecatedLicense, String licHTMLReference) throws org.spdx.library.InvalidSPDXAnalysisException
      Parameters:
      deprecatedLicense -
      licHTMLReference -
      Throws:
      org.spdx.library.InvalidSPDXAnalysisException