public abstract class NonStandardLicensesSheet extends AbstractSheet
| Modifier and Type | Field and Description |
|---|---|
protected String |
version |
checkboxStyle, dateStyle, firstCellNum, firstRowNum, FONT_SIZE, greenWrapped, lastRowNum, redWrapped, sheet, workbook, yellowWrapped| Constructor and Description |
|---|
NonStandardLicensesSheet(org.apache.poi.ss.usermodel.Workbook workbook,
String sheetName,
String version) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
add(String identifier,
String extractedText,
String licenseName,
String[] crossRefUrls,
String comment)
Add a new row to the NonStandardLicenses sheet
|
static void |
create(org.apache.poi.ss.usermodel.Workbook wb,
String nonStandardLicenseSheetName)
Create a blank worksheet NOTE: Replaces / deletes existing sheet by the same name
|
abstract String |
getComment(int rowNum) |
abstract String[] |
getCrossRefUrls(int rowNum) |
abstract String |
getExtractedText(int rowNum)
Retrieve the extracted text for a specific row in the spreadsheet
|
abstract String |
getIdentifier(int rowNum)
Retrieve the license identifier for a specific row in the spreadsheet
|
abstract String |
getLicenseName(int rowNum) |
static NonStandardLicensesSheet |
openVersion(org.apache.poi.ss.usermodel.Workbook workbook,
String nonStandardLicenseSheetName,
String version)
Open an existing NonStandardLicenseSheet
|
addRow, clear, createCenterStyle, createHeaderStyle, createLeftWrapStyle, getFirstDataRow, getNumDataRows, getSheet, resizeRows, verifyprotected String version
public abstract String getIdentifier(int rowNum)
rowNum - public abstract String getExtractedText(int rowNum)
rowNum - public abstract void add(String identifier, String extractedText, String licenseName, String[] crossRefUrls, String comment)
identifier - License IDextractedText - Extracted license textoptional - license namecrossRefUrls - optional cross reference URL'soptional - commentpublic static NonStandardLicensesSheet openVersion(org.apache.poi.ss.usermodel.Workbook workbook, String nonStandardLicenseSheetName, String version)
workbook - nonStandardLicenseSheetName - version - Spreadsheet versionpublic static void create(org.apache.poi.ss.usermodel.Workbook wb,
String nonStandardLicenseSheetName)
wb - nonStandardLicenseSheetName - public abstract String getLicenseName(int rowNum)
public abstract String[] getCrossRefUrls(int rowNum)
public abstract String getComment(int rowNum)
Copyright © 2017 Linux Foundation. All Rights Reserved.