Class UrlEcosystemMapper


  • @NotThreadSafe
    public class UrlEcosystemMapper
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      UrlEcosystemMapper()
      Constructs a new URL ecosystem mapper.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getEcosystem​(io.github.jeremylong.openvulnerability.client.nvd.DefCveItem cve)
      Determines the ecosystem for the given CVE.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UrlEcosystemMapper

        public UrlEcosystemMapper()
        Constructs a new URL ecosystem mapper.
    • Method Detail

      • getEcosystem

        public java.lang.String getEcosystem​(io.github.jeremylong.openvulnerability.client.nvd.DefCveItem cve)
        Determines the ecosystem for the given CVE.
        Parameters:
        cve - the CVE data
        Returns:
        the ecosystem