Package org.spdx.storage.listedlicense
Class SpdxListedLicenseWebStore
java.lang.Object
org.spdx.storage.listedlicense.SpdxListedLicenseModelStore
org.spdx.storage.listedlicense.SpdxListedLicenseWebStore
- All Implemented Interfaces:
AutoCloseable,IModelStore,IListedLicenseStore
- Author:
- gary Original code, pmonks Optional caching of downloaded files
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spdx.storage.IModelStore
IModelStore.IdType, IModelStore.IModelStoreLock, IModelStore.ModelUpdate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()getExceptionInputStream(String exceptionId) getLicenseInputStream(String licenseId) Methods inherited from class org.spdx.storage.listedlicense.SpdxListedLicenseModelStore
addValueToCollection, clearValueCollection, collectionContains, collectionSize, create, delete, enterCriticalSection, exists, getAllItems, getCaseSensisitiveId, getDocumentUris, getIdType, getLicenseListVersion, getNextId, getPropertyValueNames, getSpdxListedExceptionIds, getSpdxListedLicenseIds, getTypedValue, getValue, isCollectionMembersAssignableTo, isCollectionProperty, isPropertyValueAssignableTo, isSpdxListedExceptionId, isSpdxListedLicenseId, leaveCriticalSection, listedExceptionIdCaseSensitive, listedLicenseIdCaseSensitive, listValues, removeProperty, removeValueFromCollection, setValue
-
Constructor Details
-
SpdxListedLicenseWebStore
- Throws:
InvalidSPDXAnalysisException
-
-
Method Details
-
getTocInputStream
- Specified by:
getTocInputStreamin classSpdxListedLicenseModelStore- Returns:
- InputStream for the Table of Contents of the licenses formated in JSON SPDX
- Throws:
IOException
-
getLicenseInputStream
- Specified by:
getLicenseInputStreamin classSpdxListedLicenseModelStore- Returns:
- InputStream for a license formated in SPDX JSON
- Throws:
IOException
-
getExceptionTocInputStream
- Specified by:
getExceptionTocInputStreamin classSpdxListedLicenseModelStore- Returns:
- InputStream for the Table of Contents of the exceptions formated in JSON SPDX
- Throws:
IOException
-
getExceptionInputStream
- Specified by:
getExceptionInputStreamin classSpdxListedLicenseModelStore- Returns:
- InputStream for an exception formated in SPDX JSON
- Throws:
IOException
-
close
- Throws:
Exception
-