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 booleanhasNext()Returns whether there is another item.Tnext()Returns the next item.
-
-
-
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
-
-