public class PerFileSheetV2d0 extends PerFileSheet
versioncheckboxStyle, dateStyle, firstCellNum, firstRowNum, FONT_SIZE, greenWrapped, lastRowNum, redWrapped, sheet, workbook, yellowWrapped| Modifier and Type | Method and Description |
|---|---|
void |
add(SpdxFile fileInfo,
String pkgId)
Add the file to the spreadsheet
|
static void |
create(org.apache.poi.ss.usermodel.Workbook wb,
String sheetName) |
SpdxFile |
findFileByName(String fileName,
SpdxDocumentContainer container)
Finds an SPDX file by name by searching through the rows for a matching file name
|
SpdxFile |
getFileInfo(int rowNum,
SpdxDocumentContainer container)
Get the file information for a row in the PerFileSheet
|
String[] |
getPackageIds(int row) |
String |
verify() |
csvToStrings, openVersion, stringsToCsvaddRow, clear, createCenterStyle, createHeaderStyle, createLeftWrapStyle, getFirstDataRow, getNumDataRows, getSheet, resizeRowspublic void add(SpdxFile fileInfo, String pkgId)
PerFileSheetadd in class PerFileSheetpkgId - string containing the package ID's which contain this filepublic SpdxFile getFileInfo(int rowNum, SpdxDocumentContainer container) throws SpreadsheetException
PerFileSheetgetFileInfo in class PerFileSheetSpreadsheetExceptionpublic SpdxFile findFileByName(String fileName, SpdxDocumentContainer container) throws SpreadsheetException
fileName - SpreadsheetExceptionpublic String verify()
verify in class AbstractSheetpublic static void create(org.apache.poi.ss.usermodel.Workbook wb,
String sheetName)
public String[] getPackageIds(int row)
getPackageIds in class PerFileSheetCopyright © 2018 Linux Foundation. All Rights Reserved.