Package org.spdx.tools.compare
Class DocumentSheet
java.lang.Object
org.spdx.tools.compare.AbstractSheet
org.spdx.tools.compare.DocumentSheet
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
-
Field Summary
Fields inherited from class org.spdx.tools.compare.AbstractSheet
checkboxStyle, dateStyle, firstCellNum, firstRowNum, FONT_SIZE, greenWrapped, lastRowNum, redWrapped, sheet, workbook, yellowWrapped -
Constructor Summary
ConstructorsConstructorDescriptionDocumentSheet(org.apache.poi.ss.usermodel.Workbook workbook, String sheetName) -
Method Summary
Methods inherited from class org.spdx.tools.compare.AbstractSheet
addRow, clear, createCenterStyle, createHeaderStyle, createLeftWrapStyle, getFirstDataRow, getNumDataRows, getSheet, resizeRows
-
Constructor Details
-
DocumentSheet
- Parameters:
workbook-sheetName-
-
-
Method Details
-
verify
- Specified by:
verifyin classAbstractSheet
-
create
- 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 documentsdocNames- Document names - order must be the same as the documents provided- Throws:
org.spdx.core.InvalidSPDXAnalysisExceptionorg.spdx.utility.compare.SpdxCompareException
-