org.caleigo.toolkit.util
Class FileClassLoader

java.lang.Object
  extended byjava.lang.ClassLoader
      extended byorg.caleigo.toolkit.util.FileClassLoader

public class FileClassLoader
extends java.lang.ClassLoader

ClassLoader that can load classes from a jar file.

Version:
1.00
Author:
mha

Nested Class Summary
 
Nested classes inherited from class java.lang.ClassLoader
 
Field Summary
 
Fields inherited from class java.lang.ClassLoader
 
Constructor Summary
FileClassLoader(java.util.jar.JarFile jarFile)
           
 
Method Summary
protected  java.lang.Class findClass(java.lang.String name)
          Load class data from the jar file and define the class.
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileClassLoader

public FileClassLoader(java.util.jar.JarFile jarFile)
Method Detail

findClass

protected java.lang.Class findClass(java.lang.String name)
                             throws java.lang.ClassNotFoundException
Load class data from the jar file and define the class.

Throws:
java.lang.ClassNotFoundException


Copyright © 2005 Caleigo. All Rights Reserved.