public class XmlLicenseProviderSingleFile extends Object implements org.spdx.rdfparser.license.ISpdxListedLicenseProvider
| Constructor and Description |
|---|
XmlLicenseProviderSingleFile(File licenseXmlFile) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<org.spdx.rdfparser.license.ListedLicenseException> |
getExceptionIterator() |
Iterator<org.spdx.rdfparser.license.SpdxListedLicense> |
getLicenseIterator() |
List<String> |
getWarnings() |
public XmlLicenseProviderSingleFile(File licenseXmlFile) throws LicenseXmlException
LicenseXmlExceptionpublic 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 © 2019 Linux Foundation. All Rights Reserved.