|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.ClassLoader
lio.core.FileClassLoader
public class FileClassLoader
Loads class bytes from a class file if this class is not in classpath.
| Constructor Summary | |
|---|---|
FileClassLoader(java.lang.String fPrefix)
Attempts to load from a local file using the relative "filePrefix". |
|
| Method Summary | |
|---|---|
protected java.lang.Class<?> |
findClass(java.lang.String className)
This method override default implementation and try to find a class in classpath or in local system file (in that order) |
| Methods inherited from class java.lang.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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileClassLoader(java.lang.String fPrefix)
fPrefix - relative path.| Method Detail |
|---|
protected java.lang.Class<?> findClass(java.lang.String className)
throws java.lang.ClassNotFoundException
findClass in class java.lang.ClassLoaderclassName - full qualified class name
java.lang.ClassNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||