| Package | Description |
|---|---|
| org.spdx.compare | |
| org.spdx.html | |
| org.spdx.licensexml |
Classes that support the License XML format (see https://github.com/spdx/license-list-XML)
|
| org.spdx.rdfparser | |
| org.spdx.rdfparser.license |
Classes implementing the license model for the SPDX Parser
|
| org.spdx.spdxspreadsheet |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
LicenseCompareHelper.isTextStandardLicense(SpdxListedLicense license,
String compareText)
Compares license text to the license text of an SPDX Standard License
|
| Modifier and Type | Method and Description |
|---|---|
SpdxListedLicense |
LicenseHTMLFile.getLicense() |
| Modifier and Type | Method and Description |
|---|---|
void |
LicenseTOCHTMLFile.addLicense(SpdxListedLicense license,
String licHTMLReference) |
void |
LicenseTOCJSONFile.addLicense(SpdxListedLicense license,
String licHTMLReference,
String licJSONReference,
boolean deprecated)
Add a license to the JSON table of contents file
|
void |
LicenseHTMLFile.setLicense(SpdxListedLicense license) |
void |
LicenseJSONFile.setLicense(SpdxListedLicense license,
boolean deprecated) |
| Constructor and Description |
|---|
LicenseHTMLFile(SpdxListedLicense license,
boolean isDeprecated,
String deprecatedVersion) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<SpdxListedLicense> |
XmlLicenseProvider.getLicenseIterator() |
List<SpdxListedLicense> |
LicenseXmlDocument.getListedLicenses()
Will skip deprecated licenses
|
| Modifier and Type | Method and Description |
|---|---|
SpdxListedLicense |
SPDXDocument.getDataLicense()
Deprecated.
|
static SpdxListedLicense |
SPDXLicenseInfoFactory.getStandardLicenseById(String licenseId)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SPDXDocument.setDataLicense(SpdxListedLicense dataLicense)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected SpdxListedLicense |
ListedLicenses.getLicenseFromUri(String uri)
Get a listed license based on a URI.
|
SpdxListedLicense |
ListedLicenses.getListedLicenseById(String licenseId) |
static SpdxListedLicense |
LicenseInfoFactory.getListedLicenseById(String licenseId) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<SpdxListedLicense> |
SpdxLicenseCsv.getLicenseIterator()
Deprecated.
|
Iterator<SpdxListedLicense> |
ISpdxListedLicenseProvider.getLicenseIterator() |
| Modifier and Type | Method and Description |
|---|---|
SpdxListedLicense |
SPDXLicenseSpreadsheet.DeprecatedLicenseInfo.getLicense() |
SpdxListedLicense |
LicenseSheet.getLicense(int rowNum)
Retrieve a license for a specific row in the sheet
|
SpdxListedLicense |
DeprecatedLicenseSheet.getLicense(int rowNum)
Retrieve a license for a specific row in the sheet
|
SpdxListedLicense |
SPDXLicenseSpreadsheet.LicenseIterator.next() |
| Modifier and Type | Method and Description |
|---|---|
Iterator<SpdxListedLicense> |
SPDXLicenseSpreadsheet.getLicenseIterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
LicenseSheet.add(SpdxListedLicense license) |
void |
DeprecatedLicenseSheet.add(SpdxListedLicense license,
String deprecatedVersion)
Add a new row to the spreadsheet
|
void |
SPDXLicenseSpreadsheet.DeprecatedLicenseInfo.setLicense(SpdxListedLicense license) |
| Constructor and Description |
|---|
DeprecatedLicenseInfo(SpdxListedLicense license,
String deprecatedVersion) |
Copyright © 2017 Linux Foundation. All Rights Reserved.