| Package | Description |
|---|---|
| org.spdx.merge | |
| org.spdx.rdfparser | |
| org.spdx.rdfparser.license |
Classes implementing the license model for the SPDX Parser
|
| Modifier and Type | Method and Description |
|---|---|
AnyLicenseInfo |
SpdxPackageInfoMerger.licsCombiner(AnyLicenseInfo lic1,
AnyLicenseInfo lic2)
A method to combine two licenses into one
|
List<SpdxPackage> |
SpdxPackageInfoMerger.mergePackagesInfo(SpdxFile[] fileMergeResult)
A method to merge all packages' information from sub list documents into master document
|
| Modifier and Type | Method and Description |
|---|---|
static AnyLicenseInfo |
SPDXLicenseInfoFactory.parseSPDXLicenseString(String licenseString)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static AnyLicenseInfo |
LicenseInfoFactory.parseSPDXLicenseString(String licenseString)
Parses a license string and converts it into a SPDXLicenseInfo object
Syntax - A license set must start and end with a parenthesis "("
A conjunctive license set will have and AND after the first
licenseInfo term
A disjunctive license set will have an OR after the first
licenseInfo term
If there is no And or Or, then it is converted to a simple
license type
A space or tab must be used between license ID's and the
keywords AND and OR
A licenseID must NOT be "AND" or "OR"
|
static AnyLicenseInfo |
LicenseInfoFactory.parseSPDXLicenseString(String licenseString,
SpdxDocumentContainer container)
Parses a license string and converts it into a SPDXLicenseInfo object
Syntax - A license set must start and end with a parenthesis "("
A conjunctive license set will have and AND after the first
licenseInfo term
A disjunctive license set will have an OR after the first
licenseInfo term
If there is no And or Or, then it is converted to a simple
license type
A space or tab must be used between license ID's and the
keywords AND and OR
A licenseID must NOT be "AND" or "OR"
|
Copyright © 2018 Linux Foundation. All Rights Reserved.