org.apache.xindice.util
Class DirectoryClassLoader
java.lang.Object
java.lang.ClassLoader
org.apache.xindice.util.DirectoryClassLoader
- public final class DirectoryClassLoader
- extends 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.
- Version:
- $Revision: 541508 $, $Date: 2007-05-24 21:54:12 -0400 (Thu, 24 May 2007) $
Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectoryClassLoader
public DirectoryClassLoader(String directory)
isModified
public boolean isModified(String classname)
loadClass
public Class loadClass(String classname,
boolean resolve)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.