| Package | Description |
|---|---|
| org.spdx.compare | |
| org.spdx.licensexml |
Classes that support the License XML format (see https://github.com/spdx/license-list-XML)
|
| org.spdx.rdfparser.license |
Classes implementing the license model for the SPDX Parser
|
| org.spdx.spdxspreadsheet | |
| org.spdx.tools |
| Modifier and Type | Method and Description |
|---|---|
void |
MultiDocumentSpreadsheet.create(File spreadsheetFile) |
void |
VerificationSheet.importVerificationErrors(List<String>[] verificationErrors,
String[] docNames)
Import verification errors
|
void |
MultiDocumentSpreadsheet.importVerificationErrors(List<String>[] verificationErrors,
String[] docNames) |
| Constructor and Description |
|---|
MultiDocumentSpreadsheet(File spreadsheetFile,
boolean create,
boolean readonly) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<LicenseException> |
XmlLicenseProvider.getExceptionIterator() |
| Modifier and Type | Method and Description |
|---|---|
Iterator<LicenseException> |
ISpdxListedLicenseProvider.getExceptionIterator() |
| Modifier and Type | Class and Description |
|---|---|
class |
InvalidLicenseStringException
Exceptions related to License Strings stored in the spreadsheet.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SnippetSheet.add(SpdxSnippet snippet) |
void |
ExternalRefsSheet.add(String packageId,
ExternalRef externalRef,
SpdxDocumentContainer container) |
void |
OriginsSheetV2d0.addDocument(SpdxDocument doc) |
void |
OriginsSheetV1d2.addDocument(SpdxDocument doc) |
void |
OriginsSheetV1d1.addDocument(SpdxDocument doc) |
void |
OriginsSheetV0d9d4.addDocument(SpdxDocument doc) |
abstract void |
DocumentInfoSheet.addDocument(SpdxDocument doc)
Add all origin information from the document
|
void |
AbstractSpreadsheet.close() |
void |
SPDXSpreadsheet.create(File spreadsheetFile) |
void |
SPDXLicenseSpreadsheet.create(File spreadsheetFile) |
abstract void |
AbstractSpreadsheet.create(File spreadsheetFile) |
void |
SPDXLicenseSpreadsheet.create(File spreadsheetFile,
String version,
String releaseDate) |
SpdxFile |
PerFileSheetV2d0.findFileByName(String fileName,
SpdxDocumentContainer container)
Finds an SPDX file by name by searching through the rows for a matching file name
|
SpdxFile |
PerFileSheetV1d2.findFileByName(String fileName,
SpdxDocumentContainer container)
Finds an SPDX file by name by searching through the rows for a matching file name
|
Annotation |
AnnotationsSheet.getAnnotation(int rowNum) |
Iterator<LicenseException> |
SPDXLicenseSpreadsheet.getExceptionIterator() |
ExternalDocumentRef[] |
OriginsSheetV2d0.getExternalDocumentRefs() |
abstract ExternalDocumentRef[] |
DocumentInfoSheet.getExternalDocumentRefs() |
SpdxFile |
PerFileSheetV2d0.getFileInfo(int rowNum,
SpdxDocumentContainer container) |
SpdxFile |
PerFileSheetV1d2.getFileInfo(int rowNum,
SpdxDocumentContainer container) |
SpdxFile |
PerFileSheetV1d1.getFileInfo(int rowNum,
SpdxDocumentContainer container) |
SpdxFile |
PerFileSheetV09d3.getFileInfo(int rowNum,
SpdxDocumentContainer container) |
abstract SpdxFile |
PerFileSheet.getFileInfo(int rowNum,
SpdxDocumentContainer container)
Get the file information for a row in the PerFileSheet
|
SpdxPackage[] |
PackageInfoSheetV9d1.getPackages(SpdxDocumentContainer container) |
SpdxPackage[] |
PackageInfoSheetV2d1.getPackages(SpdxDocumentContainer container) |
SpdxPackage[] |
PackageInfoSheetV2d0.getPackages(SpdxDocumentContainer container) |
SpdxPackage[] |
PackageInfoSheetV1d2.getPackages(SpdxDocumentContainer container) |
SpdxPackage[] |
PackageInfoSheetV09d3.getPackages(SpdxDocumentContainer container) |
SpdxPackage[] |
PackageInfoSheetV09d2.getPackages(SpdxDocumentContainer container) |
abstract SpdxPackage[] |
PackageInfoSheet.getPackages(SpdxDocumentContainer container) |
Relationship |
RelationshipsSheet.getRelationship(int rowNum,
SpdxDocumentContainer container) |
SpdxSnippet |
SnippetSheet.getSnippet(int rowNum,
SpdxDocumentContainer container)
Get the SPDX snippet represented in the row rownum.
|
String |
SnippetSheet.getSnippetFileId(int rowNum)
Get the SpdxFromFileSNippet for the given row
|
void |
OriginsSheetV2d0.setExternalDocumentRefs(ExternalDocumentRef[] externalDocumentRefs) |
abstract void |
DocumentInfoSheet.setExternalDocumentRefs(ExternalDocumentRef[] externalDocumentRefs)
Set the external document refs
|
| Constructor and Description |
|---|
AbstractSpreadsheet(File spreadsheetFile,
boolean create,
boolean readonly) |
DeprecatedLicenseIterator() |
LicenseExceptionIterator() |
LicenseIterator() |
SPDXLicenseSpreadsheet(File spreadsheetFile,
boolean create,
boolean readonly) |
SPDXSpreadsheet(File spreadsheetFile,
boolean create,
boolean readonly)
Creates a new spreadsheet based on an existing file.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
RdfToSpreadsheet.copyRdfXmlToSpreadsheet(SpdxDocument doc,
SPDXSpreadsheet ss) |
static SpdxDocument |
SpreadsheetToRDF.copySpreadsheetToSPDXAnalysis(SPDXSpreadsheet ss) |
Copyright © 2017 Linux Foundation. All Rights Reserved.