Xindice API
version 1.2m1

org.apache.xindice.util
Class DirectoryClassLoader

java.lang.Object
  extended byjava.lang.ClassLoader
      extended byorg.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) $

Constructor Summary
DirectoryClassLoader(String directory)
           
 
Method Summary
 boolean isModified(String classname)
           
 Class loadClass(String classname, boolean resolve)
           
 
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
 

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
Throws:
ClassNotFoundException

Xindice API
version 1.2m1

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