public final class NvdCveParser
extends java.lang.Object
| Constructor and Description |
|---|
NvdCveParser(Settings settings,
CveDB db)
Creates a new NVD CVE JSON Parser.
|
| Modifier and Type | Method and Description |
|---|---|
void |
parse(java.io.File file)
Parses the NVD JSON file and inserts/updates data into the database.
|
public void parse(java.io.File file)
throws UpdateException,
CorruptedDatastreamException
file - the NVD JSON file to parseUpdateException - thrown if the file could not be readCorruptedDatastreamException - thrown if the file was found to be a
corrupted download (ZipException or premature EOF)Copyright© 2012-21 Jeremy Long. All Rights Reserved.