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.spdxspreadsheet.SPDXLicenseSpreadsheet.DeprecatedLicenseInfo> |
getDeprecatedLicenseIterator() |
Iterator<org.spdx.rdfparser.license.LicenseException> |
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.LicenseException> 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.SpreadsheetExceptionpublic Iterator<org.spdx.spdxspreadsheet.SPDXLicenseSpreadsheet.DeprecatedLicenseInfo> getDeprecatedLicenseIterator()
getDeprecatedLicenseIterator in interface org.spdx.rdfparser.license.ISpdxListedLicenseProviderCopyright © 2018 Linux Foundation. All Rights Reserved.