public class SPDXSpreadsheet extends AbstractSpreadsheet
| Modifier and Type | Field and Description |
|---|---|
static String |
CURRENT_VERSION |
static com.google.common.collect.ImmutableList<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 |
static String |
VERSION_1_2_0 |
static String |
VERSION_2_0_0 |
logger, saveFile, workbook| Constructor and Description |
|---|
SPDXSpreadsheet(File spreadsheetFile,
boolean create,
boolean readonly)
Creates a new spreadsheet based on an existing file.
|
close, writeToFilepublic static final String CURRENT_VERSION
public static final String VERSION_2_0_0
public static final String VERSION_1_2_0
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 com.google.common.collect.ImmutableList<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 DocumentInfoSheet getOriginsSheet()
public void setOriginsSheet(DocumentInfoSheet 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 setpublic RelationshipsSheet getRelationshipsSheet()
public void setRelationshipsSheet(RelationshipsSheet relationshipsSheet)
public AnnotationsSheet getAnnotationsSheet()
public void setAnnotationsSheet(AnnotationsSheet annotationsSheet)
public void setPackageInfoSheet(PackageInfoSheet packageInfoSheet)
public void setNonStandardLicensesSheet(NonStandardLicensesSheet nonStandardLicensesSheet)
public void setPerFileSheet(PerFileSheet perFileSheet)
public SnippetSheet getSnippetSheet()
public void setSnippetSheet(SnippetSheet snippetSheet)
snippetSheet - the snippetSheet to setpublic ExternalRefsSheet getExternalRefsSheet()
public void setExternaRefsSheet(ExternalRefsSheet externalRefsSheet)
snippetSheet - the snippetSheet to setpublic void resizeRow()
Copyright © 2017 Linux Foundation. All Rights Reserved.