Package org.spdx.spdxspreadsheet
Class PerFileSheetV09d3
java.lang.Object
org.spdx.spdxspreadsheet.AbstractSheet
org.spdx.spdxspreadsheet.PerFileSheet
org.spdx.spdxspreadsheet.PerFileSheetV09d3
public class PerFileSheetV09d3 extends PerFileSheet
Sheet describing the per file information in an SPDX Document
- 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 PerFileSheetV09d3(org.apache.poi.ss.usermodel.Workbook workbook, String sheetName, String version) -
Method Summary
Modifier and Type Method Description voidadd(SpdxFile fileInfo, String packageIds)Add the file to the spreadsheetstatic voidcreate(org.apache.poi.ss.usermodel.Workbook wb, String sheetName)SpdxFilegetFileInfo(int rowNum, SpdxDocumentContainer container)Get the file information for a row in the PerFileSheetString[]getPackageIds(int row)Stringverify()Methods inherited from class org.spdx.spdxspreadsheet.PerFileSheet
csvToStrings, openVersion, stringsToCsvMethods inherited from class org.spdx.spdxspreadsheet.AbstractSheet
addRow, clear, createCenterStyle, createHeaderStyle, createLeftWrapStyle, getFirstDataRow, getNumDataRows, getSheet, resizeRows
-
Constructor Details
-
PerFileSheetV09d3
public PerFileSheetV09d3(org.apache.poi.ss.usermodel.Workbook workbook, String sheetName, String version)- Parameters:
workbook-sheetName-version-
-
-
Method Details
-
add
Description copied from class:PerFileSheetAdd the file to the spreadsheet- Specified by:
addin classPerFileSheetpackageIds- string containing the package ID's which contain this file
-
getFileInfo
public SpdxFile getFileInfo(int rowNum, SpdxDocumentContainer container) throws SpreadsheetExceptionDescription copied from class:PerFileSheetGet the file information for a row in the PerFileSheet- Specified by:
getFileInfoin classPerFileSheet- Returns:
- Throws:
SpreadsheetException
-
verify
- Specified by:
verifyin classAbstractSheet
-
create
-
getPackageIds
- Specified by:
getPackageIdsin classPerFileSheet- Returns:
-