DriverClassLoader.java の 57 行で定義されています。
Protected メソッド | |
Class | findClass (String className) throws ClassNotFoundException |
URL | findResource (String name) |
関数 | |
DriverClassLoader (ClassLoader parent, File pPath) | |
Private メソッド | |
byte[] | findClassInJarFile (File dir, String className) throws IOException |
String | convertClassNameToResourceName (String className) |
void | loadJarFile (String jarFileName) throws IOException |
Private 変数 | |
File | path = null |
Hashtable | htJarContents = new Hashtable() |
|
Creates a new
参照先 org.objectweb.cjdbc.controller.connection.DriverClassLoader.path.
|
|
convert the class name into the rescource name. This method is just replacing the '.' in the name with a '/' and adding the suffix '.class'
参照元 org.objectweb.cjdbc.controller.connection.DriverClassLoader.findClassInJarFile().
|
|
finds the specified class
参照先 org.objectweb.cjdbc.controller.connection.DriverClassLoader.findClassInJarFile(), と org.objectweb.cjdbc.controller.connection.DriverClassLoader.path.
|
|
Find the first jar file containing the className and load it
参照先 org.objectweb.cjdbc.controller.connection.DriverClassLoader.convertClassNameToResourceName(), org.objectweb.cjdbc.controller.connection.DriverClassLoader.htJarContents, と org.objectweb.cjdbc.controller.connection.DriverClassLoader.loadJarFile(). 参照元 org.objectweb.cjdbc.controller.connection.DriverClassLoader.findClass().
|
|
|
|
Load the contents of jar file in the cache
参照元 org.objectweb.cjdbc.controller.connection.DriverClassLoader.findClassInJarFile().
|
|
we cache the contents of the jar files, as we don't want to have to read the file for every single class we are going to need DriverClassLoader.java の 136 行で定義されています。 参照元 org.objectweb.cjdbc.controller.connection.DriverClassLoader.findClassInJarFile(). |
|
path on filesystem where the driver is located DriverClassLoader.java の 61 行で定義されています。 参照元 org.objectweb.cjdbc.controller.connection.DriverClassLoader.DriverClassLoader(), と org.objectweb.cjdbc.controller.connection.DriverClassLoader.findClass(). |