Package org.spdx.compare
Class DocumentSheet
java.lang.Object
org.spdx.spdxspreadsheet.AbstractSheet
org.spdx.compare.DocumentSheet
public class DocumentSheet extends AbstractSheet
Sheet to hold compare information at the docment 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.spdxspreadsheet.AbstractSheet
checkboxStyle, dateStyle, firstCellNum, firstRowNum, FONT_SIZE, greenWrapped, lastRowNum, redWrapped, sheet, workbook, yellowWrapped -
Constructor Summary
Constructors Constructor Description DocumentSheet(org.apache.poi.ss.usermodel.Workbook workbook, String sheetName) -
Method Summary
Modifier and Type Method Description static voidcreate(org.apache.poi.ss.usermodel.Workbook wb, String sheetName)voidimportCompareResults(SpdxComparer comparer, String[] docNames)Import compare results from a comparisonStringverify()Methods inherited from class org.spdx.spdxspreadsheet.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(SpdxComparer comparer, String[] docNames) throws SpdxCompareException, InvalidSPDXAnalysisExceptionImport compare results from a comparison- Parameters:
comparer- Comparer which compared the documentsdocNames- Document names - order must be the same as the documents provided- Throws:
InvalidSPDXAnalysisExceptionSpdxCompareException
-