Uses of Class
org.spdx.library.model.license.InvalidLicenseStringException

Package
Description
 
  • Uses of InvalidLicenseStringException in org.spdx.library.model.license

    Modifier and Type
    Method
    Description
    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"
    LicenseInfoFactory.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"