Class DocumentSheet

java.lang.Object
org.spdx.tools.compare.AbstractSheet
org.spdx.tools.compare.DocumentSheet

public class DocumentSheet extends AbstractSheet
Sheet to hold compare information at the document level: Created, Data License, Document Comment The first row summarizes which fields are different, the subsequent rows are the specific date from each result
Author:
Gary O'Neall
  • Constructor Details

    • DocumentSheet

      public DocumentSheet(org.apache.poi.ss.usermodel.Workbook workbook, String sheetName)
      Parameters:
      workbook -
      sheetName -
  • Method Details

    • verify

      public String verify()
      Specified by:
      verify in class AbstractSheet
    • create

      public static void create(org.apache.poi.ss.usermodel.Workbook wb, String sheetName)
      Parameters:
      wb -
      sheetName -
    • importCompareResults

      public void importCompareResults(org.spdx.utility.compare.SpdxComparer comparer, List<String> docNames) throws org.spdx.utility.compare.SpdxCompareException, org.spdx.core.InvalidSPDXAnalysisException
      Import compare results from a comparison
      Parameters:
      comparer - Comparer which compared the documents
      docNames - Document names - order must be the same as the documents provided
      Throws:
      org.spdx.core.InvalidSPDXAnalysisException
      org.spdx.utility.compare.SpdxCompareException