public class ListedReferenceTypes extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
getListedReferenceName(URI uri)
Get the listed reference type name from the listed reference URI
|
ReferenceType |
getListedReferenceTypeByName(String listedReferenceName) |
static ListedReferenceTypes |
getListedReferenceTypes() |
URI |
getListedReferenceUri(String listedReferenceName)
Get the listed reference URI from a listed reference type name used in the tag/value format
|
boolean |
isListedReferenceType(URI uri)
Returns true if the URI references a valid SPDX listed reference type
|
static ListedReferenceTypes |
resetListedReferenceTypes()
Resets all of the listed reference types and reloads the listed reference ID's
NOTE: This method should be used with caution, it will negatively impact
performance.
|
public static ListedReferenceTypes getListedReferenceTypes()
public static ListedReferenceTypes resetListedReferenceTypes()
public boolean isListedReferenceType(URI uri)
uri - public URI getListedReferenceUri(String listedReferenceName) throws InvalidSPDXAnalysisException
listedReferenceName - InvalidSPDXAnalysisExceptionpublic ReferenceType getListedReferenceTypeByName(String listedReferenceName) throws InvalidSPDXAnalysisException
InvalidSPDXAnalysisExceptionpublic String getListedReferenceName(URI uri) throws InvalidSPDXAnalysisException
uri - InvalidSPDXAnalysisExceptionCopyright © 2017 Linux Foundation. All Rights Reserved.