Interface CveItemSource<T extends io.github.jeremylong.openvulnerability.client.nvd.DefCveItem>

  • All Superinterfaces:
    java.lang.AutoCloseable
    All Known Implementing Classes:
    CveApiJson20CveItemSource, JsonArrayCveItemSource

    public interface CveItemSource<T extends io.github.jeremylong.openvulnerability.client.nvd.DefCveItem>
    extends java.lang.AutoCloseable
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean hasNext()
      Returns whether there is another item.
      T next()
      Returns the next item.
      • Methods inherited from interface java.lang.AutoCloseable

        close
    • Method Detail

      • hasNext

        boolean hasNext()
        Returns whether there is another item.
        Returns:
        truefalse.
      • next

        T next()
        throws java.io.IOException
        Returns the next item.
        Returns:
        the next item
        Throws:
        java.io.IOException - thrown if there is an error reading from the source