org.rimudb.editor
Class DriverLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by java.security.SecureClassLoader
          extended by java.net.URLClassLoader
              extended by org.rimudb.editor.DriverLoader

public class DriverLoader
extends java.net.URLClassLoader

Author:
Simon Ritchie

Constructor Summary
DriverLoader(java.net.URL[] urls)
           
 
Method Summary
static java.lang.String changeFileNameToClassName(java.lang.String filename)
           
protected  void classHasBeenLoaded(java.lang.Class<?> cls)
           
protected  java.lang.Class<?> findClass(java.lang.String className)
           
 java.lang.String[] getDriverClasses()
           
 
Methods inherited from class java.net.URLClassLoader
addURL, definePackage, findResource, findResources, getPermissions, getURLs, newInstance, newInstance
 
Methods inherited from class java.security.SecureClassLoader
defineClass, defineClass
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DriverLoader

public DriverLoader(java.net.URL[] urls)
Method Detail

getDriverClasses

public java.lang.String[] getDriverClasses()
                                    throws java.io.IOException
Throws:
java.io.IOException

changeFileNameToClassName

public static java.lang.String changeFileNameToClassName(java.lang.String filename)

findClass

protected java.lang.Class<?> findClass(java.lang.String className)
                                throws java.lang.ClassNotFoundException
Overrides:
findClass in class java.net.URLClassLoader
Throws:
java.lang.ClassNotFoundException

classHasBeenLoaded

protected void classHasBeenLoaded(java.lang.Class<?> cls)


Copyright © 2008-2011 Simon Ritchie. All Rights Reserved.