public class XmlLicenseProvider extends Object implements org.spdx.rdfparser.license.ISpdxListedLicenseProvider
| Constructor and Description |
|---|
XmlLicenseProvider(File xmlFileDirectory) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<org.spdx.rdfparser.license.ListedLicenseException> |
getExceptionIterator() |
Iterator<org.spdx.rdfparser.license.SpdxListedLicense> |
getLicenseIterator() |
List<String> |
getWarnings() |
public XmlLicenseProvider(File xmlFileDirectory) throws org.spdx.rdfparser.license.SpdxListedLicenseException
xmlFileDirectory - directory of XML filesorg.spdx.rdfparser.license.SpdxListedLicenseExceptionpublic Iterator<org.spdx.rdfparser.license.SpdxListedLicense> getLicenseIterator() throws org.spdx.rdfparser.license.SpdxListedLicenseException
getLicenseIterator in interface org.spdx.rdfparser.license.ISpdxListedLicenseProviderorg.spdx.rdfparser.license.SpdxListedLicenseExceptionpublic Iterator<org.spdx.rdfparser.license.ListedLicenseException> getExceptionIterator() throws org.spdx.rdfparser.license.LicenseRestrictionException, org.spdx.spdxspreadsheet.SpreadsheetException
getExceptionIterator in interface org.spdx.rdfparser.license.ISpdxListedLicenseProviderorg.spdx.rdfparser.license.LicenseRestrictionExceptionorg.spdx.spdxspreadsheet.SpreadsheetExceptionCopyright © 2018 Linux Foundation. All Rights Reserved.