Java2OWL
Class FileClassLoader

Object
  extended by ClassLoader
      extended by FileClassLoader

public class FileClassLoader
extends ClassLoader

This class loader loads a class from a file which is given by a pathname. It is independent of the CLASSPATH setting. It is invoked only if the normal class loading does not find the file.


Constructor Summary
FileClassLoader()
           
 
Method Summary
 Class findClass(String file)
          loads a class from the file with the given pathname.
 
Methods inherited from class ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileClassLoader

public FileClassLoader()
Method Detail

findClass

public Class findClass(String file)
                throws ClassNotFoundException
loads a class from the file with the given pathname.

Overrides:
findClass in class ClassLoader
Parameters:
file - The pathname where the class can be loaded from.
Returns:
the loaded class.
Throws:
ClassNotFoundException - if something goes wrong.