public class SPDXLicenseSpreadsheet extends AbstractSpreadsheet implements ISpdxListedLicenseProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
SPDXLicenseSpreadsheet.DeprecatedLicenseInfo |
class |
SPDXLicenseSpreadsheet.DeprecatedLicenseIterator |
class |
SPDXLicenseSpreadsheet.LicenseExceptionIterator |
class |
SPDXLicenseSpreadsheet.LicenseIterator |
logger, saveFile, workbook| Constructor and Description |
|---|
SPDXLicenseSpreadsheet(File spreadsheetFile,
boolean create,
boolean readonly) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
create(File spreadsheetFile) |
void |
create(File spreadsheetFile,
String version,
String releaseDate) |
Iterator<SPDXLicenseSpreadsheet.DeprecatedLicenseInfo> |
getDeprecatedLicenseIterator() |
DeprecatedLicenseSheet |
getDeprecatedLicenseSheet() |
Iterator<LicenseException> |
getExceptionIterator() |
LicenseExceptionSheet |
getLicenseExceptionSheet() |
Iterator<SpdxListedLicense> |
getLicenseIterator() |
LicenseSheet |
getLicenseSheet() |
List<String> |
getWarnings() |
String |
verifyWorkbook() |
close, writeToFilepublic SPDXLicenseSpreadsheet(File spreadsheetFile, boolean create, boolean readonly) throws SpreadsheetException
SpreadsheetExceptionpublic void create(File spreadsheetFile) throws IOException, SpreadsheetException
create in class AbstractSpreadsheetIOExceptionSpreadsheetExceptionpublic void create(File spreadsheetFile, String version, String releaseDate) throws IOException, SpreadsheetException
IOExceptionSpreadsheetExceptionpublic void clear()
clear in class AbstractSpreadsheetpublic String verifyWorkbook()
verifyWorkbook in class AbstractSpreadsheetpublic LicenseSheet getLicenseSheet()
public Iterator<SpdxListedLicense> getLicenseIterator()
getLicenseIterator in interface ISpdxListedLicenseProviderpublic Iterator<SPDXLicenseSpreadsheet.DeprecatedLicenseInfo> getDeprecatedLicenseIterator()
getDeprecatedLicenseIterator in interface ISpdxListedLicenseProviderpublic Iterator<LicenseException> getExceptionIterator() throws LicenseRestrictionException, SpreadsheetException
getExceptionIterator in interface ISpdxListedLicenseProviderLicenseRestrictionExceptionSpreadsheetExceptionpublic LicenseExceptionSheet getLicenseExceptionSheet()
public DeprecatedLicenseSheet getDeprecatedLicenseSheet()
public List<String> getWarnings()
getWarnings in interface ISpdxListedLicenseProviderCopyright © 2017 Linux Foundation. All Rights Reserved.