org.apache.xindice.util
Class DirectoryClassLoader
java.lang.Object
|
+--java.lang.ClassLoader
|
+--org.apache.xindice.util.DirectoryClassLoader
- public final class DirectoryClassLoader
- extends java.lang.ClassLoader
DirectoryClassLoader reads classes relative to the
constructor-provided base directory. This class is typically used for loading
classes from a directory that isn't on the CLASSPATH.
Method Summary |
boolean |
isModified(java.lang.String classname)
|
java.lang.Class |
loadClass(java.lang.String classname,
boolean resolve)
|
Methods inherited from class java.lang.ClassLoader |
getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectoryClassLoader
public DirectoryClassLoader(java.lang.String directory)
isModified
public boolean isModified(java.lang.String classname)
loadClass
public java.lang.Class loadClass(java.lang.String classname,
boolean resolve)
throws java.lang.ClassNotFoundException
Copyright (c) 1999-2001 The Apache Software Foundation