@Deprecated public class SpdxLicenseCsv extends Object implements ISpdxListedLicenseProvider
| Modifier and Type | Field and Description |
|---|---|
static int |
IS_OSI_APPROVED_COL
Deprecated.
|
static int |
LICENSE_HEADER_COL
Deprecated.
|
static int |
LICENSE_ID_COL
Deprecated.
|
static int |
LICENSE_NAME_COL
Deprecated.
|
static int |
LICENSE_NOTES_COL
Deprecated.
|
static int |
LICENSE_TEMPLATE_COL
Deprecated.
|
static int |
LICENSE_TEXT_COL
Deprecated.
|
static int |
LICENSE_URL_COL
Deprecated.
|
| Constructor and Description |
|---|
SpdxLicenseCsv(File csvFile)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
|
Iterator<SPDXLicenseSpreadsheet.DeprecatedLicenseInfo> |
getDeprecatedLicenseIterator()
Deprecated.
|
Iterator<LicenseException> |
getExceptionIterator()
Deprecated.
|
Iterator<SpdxListedLicense> |
getLicenseIterator()
Deprecated.
|
List<String> |
getWarnings()
Deprecated.
|
public static final int LICENSE_NAME_COL
public static final int LICENSE_ID_COL
public static final int LICENSE_NOTES_COL
public static final int LICENSE_TEXT_COL
public static final int LICENSE_URL_COL
public static final int LICENSE_TEMPLATE_COL
public static final int LICENSE_HEADER_COL
public static final int IS_OSI_APPROVED_COL
public SpdxLicenseCsv(File csvFile) throws IOException, LicenseCsvException
csvFile - IOExceptionLicenseCsvExceptionpublic Iterator<SpdxListedLicense> getLicenseIterator() throws LicenseCsvException
getLicenseIterator in interface ISpdxListedLicenseProviderLicenseCsvExceptionpublic void close()
throws IOException
IOExceptionpublic Iterator<LicenseException> getExceptionIterator() throws LicenseRestrictionException
getExceptionIterator in interface ISpdxListedLicenseProviderLicenseRestrictionExceptionpublic Iterator<SPDXLicenseSpreadsheet.DeprecatedLicenseInfo> getDeprecatedLicenseIterator()
getDeprecatedLicenseIterator in interface ISpdxListedLicenseProviderpublic List<String> getWarnings()
getWarnings in interface ISpdxListedLicenseProviderCopyright © 2017 Linux Foundation. All Rights Reserved.