Xindice API
version 1.1

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: 511426 $, $Date: 2007-02-24 22:25:02 -0500 (Sat, 24 Feb 2007) $

Constructor Summary
DirectoryClassLoader(String directory)
           
 
Method Summary
 boolean isModified(String classname)
           
 Class loadClass(String classname, boolean resolve)
           
 
Methods inherited from class java.lang.ClassLoader
defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryClassLoader

public DirectoryClassLoader(String directory)
Method Detail

isModified

public boolean isModified(String classname)

loadClass

public Class loadClass(String classname,
                       boolean resolve)
                throws ClassNotFoundException
Overrides:
loadClass in class ClassLoader

Xindice API
version 1.1

Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.