removed file

Former-commit-id: 9b459e06b23b233984a5b633eb7faed3a8b91c26
This commit is contained in:
Jeremy Long
2014-01-11 12:45:29 -05:00
parent caf0a709b8
commit 1e40df227d

View File

@@ -1,44 +0,0 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.owasp.dependencycheck.data.nvdcve;
import java.io.File;
import java.net.URL;
import java.net.URLClassLoader;
/**
*
* @author Jeremy Long (jeremy.long@owasp.org)
*/
public class DriverClassLoader extends URLClassLoader {
/**
* Constructs a new DriverClassLoader that performs a deep copy of the URLs
* in the provided class loader.
*
*/
public DriverClassLoader(File pathToDriver, ClassLoader parent) {
File driverFolder = new File("driver");
File[] files = driverFolder.listFiles();
for (File file : files) {
try {
loader.addURL(file.toURI().toURL());
} catch (MalformedURLException e) {
}
}
super(urls, parent);
}
/**
* Add additional URLs to the class loader.
*
* @param url the URL to add to the class loader
*/
@Override
public void addURL(URL url) {
super.addURL(url);
}
}