Uses of Class
org.spdx.library.model.license.InvalidLicenseStringException
| Package | Description |
|---|---|
| org.spdx.library.model.license |
-
Uses of InvalidLicenseStringException in org.spdx.library.model.license
Methods in org.spdx.library.model.license that throw InvalidLicenseStringException Modifier and Type Method Description static AnyLicenseInfoLicenseInfoFactory. 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 AnyLicenseInfoLicenseInfoFactory. parseSPDXLicenseString(String licenseString, IModelStore store, String documentUri, ModelCopyManager copyManager)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"