public class XmlLicenseProvider extends Object implements ISpdxListedLicenseProvider
| Constructor and Description |
|---|
XmlLicenseProvider(File xmlFileDirectory) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<SPDXLicenseSpreadsheet.DeprecatedLicenseInfo> |
getDeprecatedLicenseIterator() |
Iterator<LicenseException> |
getExceptionIterator() |
Iterator<SpdxListedLicense> |
getLicenseIterator() |
List<String> |
getWarnings() |
public XmlLicenseProvider(File xmlFileDirectory) throws SpdxListedLicenseException
xmlFileDirectory - directory of XML filesSpdxListedLicenseExceptionpublic Iterator<SpdxListedLicense> getLicenseIterator() throws SpdxListedLicenseException
getLicenseIterator in interface ISpdxListedLicenseProviderSpdxListedLicenseExceptionpublic Iterator<LicenseException> getExceptionIterator() throws LicenseRestrictionException, SpreadsheetException
getExceptionIterator in interface ISpdxListedLicenseProviderLicenseRestrictionExceptionSpreadsheetExceptionpublic Iterator<SPDXLicenseSpreadsheet.DeprecatedLicenseInfo> getDeprecatedLicenseIterator()
getDeprecatedLicenseIterator in interface ISpdxListedLicenseProviderpublic List<String> getWarnings()
getWarnings in interface ISpdxListedLicenseProviderCopyright © 2017 Linux Foundation. All Rights Reserved.