public class KnownExploitedDataSource extends java.lang.Object implements CachedWebDataSource
| Constructor and Description |
|---|
KnownExploitedDataSource() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
purge(Engine engine)
Deletes any locally cached data.
|
boolean |
update(Engine engine)
Determines if an update to the current data store is needed, if it is the
new data is downloaded from the Internet and imported into the current
cached data store.
|
public boolean update(Engine engine) throws UpdateException
CachedWebDataSourceupdate in interface CachedWebDataSourceengine - a reference to the dependency-check engineUpdateException - is thrown if there is an exception downloading
the data or updating the data store.public boolean purge(Engine engine)
CachedWebDataSourcepurge in interface CachedWebDataSourceengine - a reference to the dependency-check enginetrue if the purge was successful; otherwise
falseCopyright© 2012-21 Jeremy Long. All Rights Reserved.