public class LicenseSheet extends AbstractSheet
checkboxStyle, dateStyle, firstCellNum, firstRowNum, FONT_SIZE, greenWrapped, lastRowNum, redWrapped, sheet, yellowWrapped| Constructor and Description |
|---|
LicenseSheet(org.apache.poi.ss.usermodel.Workbook workbook,
String sheetName,
File workbookFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(SPDXStandardLicense license) |
static void |
create(org.apache.poi.ss.usermodel.Workbook wb,
String sheetName,
String version,
String releaseDate)
Create a blank worksheet NOTE: Replaces / deletes existing sheet by the same name
|
SPDXStandardLicense |
getLicense(int rowNum)
Retrieve a license for a specific row in the sheet
|
String |
getReleaseDate() |
String |
getVersion() |
String |
verify() |
addRow, clear, createCenterStyle, createHeaderStyle, createLeftWrapStyle, getFirstDataRow, getNumDataRows, getSheet, resizeRowspublic static void create(org.apache.poi.ss.usermodel.Workbook wb,
String sheetName,
String version,
String releaseDate)
public String getVersion()
public String getReleaseDate()
public void add(SPDXStandardLicense license)
public SPDXStandardLicense getLicense(int rowNum) throws InvalidSPDXAnalysisException
rowNum - InvalidSPDXAnalysisExceptionpublic String verify()
verify in class AbstractSheetCopyright © 2014 Linux Foundation. All Rights Reserved.