Package org.spdx.spdxspreadsheet
Class NonStandardLicensesSheetV0d9d4
java.lang.Object
org.spdx.spdxspreadsheet.AbstractSheet
org.spdx.spdxspreadsheet.NonStandardLicensesSheet
org.spdx.spdxspreadsheet.NonStandardLicensesSheetV0d9d4
public class NonStandardLicensesSheetV0d9d4 extends NonStandardLicensesSheet
Sheet containing the text of any non-standard licenses found 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 NonStandardLicensesSheetV0d9d4(org.apache.poi.ss.usermodel.Workbook workbook, String sheetName, String version) -
Method Summary
Modifier and Type Method Description voidadd(String identifier, String extractedText)voidadd(String identifier, String extractedText, String licenseName, String[] crossRefUrls, String comment)Add a new row to the NonStandardLicenses sheetstatic voidcreate(org.apache.poi.ss.usermodel.Workbook wb, String sheetName)StringgetComment(int rowNum)String[]getCrossRefUrls(int rowNum)StringgetExtractedText(int rowNum)Retrieve the extracted text for a specific row in the spreadsheetStringgetIdentifier(int rowNum)Retrieve the license identifier for a specific row in the spreadsheetStringgetLicenseName(int rowNum)Stringverify()Methods inherited from class org.spdx.spdxspreadsheet.AbstractSheet
addRow, clear, createCenterStyle, createHeaderStyle, createLeftWrapStyle, getFirstDataRow, getNumDataRows, getSheet, resizeRows
-
Constructor Details
-
NonStandardLicensesSheetV0d9d4
public NonStandardLicensesSheetV0d9d4(org.apache.poi.ss.usermodel.Workbook workbook, String sheetName, String version)- Parameters:
workbook-sheetName-version-
-
-
Method Details
-
verify
- Specified by:
verifyin classAbstractSheet
-
create
-
add
-
getIdentifier
Description copied from class:NonStandardLicensesSheetRetrieve the license identifier for a specific row in the spreadsheet- Specified by:
getIdentifierin classNonStandardLicensesSheet- Returns:
-
getExtractedText
Description copied from class:NonStandardLicensesSheetRetrieve the extracted text for a specific row in the spreadsheet- Specified by:
getExtractedTextin classNonStandardLicensesSheet- Returns:
-
add
public void add(String identifier, String extractedText, String licenseName, String[] crossRefUrls, String comment)Description copied from class:NonStandardLicensesSheetAdd a new row to the NonStandardLicenses sheet- Specified by:
addin classNonStandardLicensesSheet- Parameters:
identifier- License IDextractedText- Extracted license textcrossRefUrls- optional cross reference URL's
-
getLicenseName
- Specified by:
getLicenseNamein classNonStandardLicensesSheet- Returns:
-
getCrossRefUrls
- Specified by:
getCrossRefUrlsin classNonStandardLicensesSheet- Returns:
-
getComment
- Specified by:
getCommentin classNonStandardLicensesSheet- Returns:
-