Class CrossRefHelper
java.lang.Object
org.spdx.crossref.CrossRefHelper
- All Implemented Interfaces:
Callable<Collection<org.spdx.library.model.v2.license.CrossRef>>
public class CrossRefHelper
extends Object
implements Callable<Collection<org.spdx.library.model.v2.license.CrossRef>>
Helper class that provides details for each url in the array it receives
- Author:
- Smith Tanjong
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<org.spdx.library.model.v2.license.CrossRef> buildUrlDetails(org.spdx.library.model.v2.license.SpdxListedLicense license) Collection<org.spdx.library.model.v2.license.CrossRef> call()
-
Constructor Details
-
CrossRefHelper
public CrossRefHelper(org.spdx.library.model.v2.license.SpdxListedLicense license) - Parameters:
license- license
-
-
Method Details
-
buildUrlDetails
public static Collection<org.spdx.library.model.v2.license.CrossRef> buildUrlDetails(org.spdx.library.model.v2.license.SpdxListedLicense license) throws org.spdx.core.InvalidSPDXAnalysisException - Parameters:
license- license- Returns:
- urlDetails the Array of CrossRefs containing the details from the SeeAlso or existing CrossRef array
- Throws:
org.spdx.core.InvalidSPDXAnalysisException
-
call
- Specified by:
callin interfaceCallable<Collection<org.spdx.library.model.v2.license.CrossRef>>- Throws:
Exception
-