public class SPDXSpreadsheet extends AbstractSpreadsheet
| Modifier and Type | Field and Description |
|---|---|
static String |
CURRENT_VERSION |
static String[] |
SUPPORTED_VERSIONS |
static String |
UNKNOWN_VERSION |
static String |
VERSION_0_9_1 |
static String |
VERSION_0_9_2 |
static String |
VERSION_0_9_3 |
static String |
VERSION_0_9_4 |
static String |
VERSION_1_1_0 |
logger, saveFile, workbook| Constructor and Description |
|---|
SPDXSpreadsheet(File spreadsheetFile,
boolean create,
boolean readonly)
Creates a new spreadsheet based on an existing file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
create(File spreadsheetFile) |
NonStandardLicensesSheet |
getNonStandardLicensesSheet() |
OriginsSheet |
getOriginsSheet() |
PackageInfoSheet |
getPackageInfoSheet() |
PerFileSheet |
getPerFileSheet() |
ReviewersSheet |
getReviewersSheet() |
void |
setNonStandardLicensesSheet(NonStandardLicensesSheetV0d9d4 nonStandardLicensesSheet) |
void |
setOriginsSheet(OriginsSheet originsSheet) |
void |
setPackageInfoSheet(PackageInfoSheetV09d2 packageInfoSheet) |
void |
setPerFileSheet(PerFileSheetV09d3 perFileSheet) |
void |
setReviewersSheet(ReviewersSheet reviewersSheet) |
static boolean |
verifyVersion(String versionToCheck) |
String |
verifyWorkbook() |
close, writeToFilepublic static final String CURRENT_VERSION
public static final String VERSION_1_1_0
public static final String VERSION_0_9_4
public static final String VERSION_0_9_3
public static final String VERSION_0_9_2
public static final String VERSION_0_9_1
public static final String[] SUPPORTED_VERSIONS
public static final String UNKNOWN_VERSION
public SPDXSpreadsheet(File spreadsheetFile, boolean create, boolean readonly) throws SpreadsheetException
spreadsheetFile - create - readonly - SpreadsheetExceptionpublic static boolean verifyVersion(String versionToCheck)
versionToCheck - public void create(File spreadsheetFile) throws IOException, SpreadsheetException
create in class AbstractSpreadsheetIOExceptionSpreadsheetExceptionpublic void clear()
clear in class AbstractSpreadsheetpublic String verifyWorkbook()
verifyWorkbook in class AbstractSpreadsheetpublic OriginsSheet getOriginsSheet()
public void setOriginsSheet(OriginsSheet originsSheet)
originsSheet - the originsSheet to setpublic PackageInfoSheet getPackageInfoSheet()
public void setPackageInfoSheet(PackageInfoSheetV09d2 packageInfoSheet)
packageInfoSheet - the packageInfoSheet to setpublic NonStandardLicensesSheet getNonStandardLicensesSheet()
public void setNonStandardLicensesSheet(NonStandardLicensesSheetV0d9d4 nonStandardLicensesSheet)
nonStandardLicensesSheet - the nonStandardLicensesSheet to setpublic PerFileSheet getPerFileSheet()
public void setPerFileSheet(PerFileSheetV09d3 perFileSheet)
perFileSheet - the perFileSheet to setpublic ReviewersSheet getReviewersSheet()
public void setReviewersSheet(ReviewersSheet reviewersSheet)
reviewersSheet - the reviewersSheet to setCopyright © 2014 Linux Foundation. All Rights Reserved.