All Packages Class Hierarchy This Package Previous Next Index
Class ccl.util.ReflectionClassLoader
java.lang.Object
|
+----java.lang.ClassLoader
|
+----ccl.util.ReflectionClassLoader
- public class ReflectionClassLoader
- extends ClassLoader
Used to load classes just to examine with the reflection api,
not to use them. Based on SimpleClassLoader from "Java Virtual
Machine" by Jon Meyer & Tom Downing.
- Version:
- $Id: ReflectionClassLoader.java,v 1.6 1999/10/18 15:29:38 clemens Exp clemens $
- Author:
-
Chr. Clemens Lee
<
clemens@kclee.com
>
-
_htLoadedClasses
-
-
_htResolvedClasses
-
-
_sClasspath
-
-
ReflectionClassLoader()
-
-
ReflectionClassLoader(String)
-
-
getAbsoluteClassFileName(String)
-
-
getClassFile(String)
-
-
getClassFromJavaArchives(String)
-
-
loadClass(String, boolean)
-
-
loadClassFile(String)
-
-
loadClassFile(ZipFile, ZipEntry)
-
-
setClasspath(String)
-
_sClasspath
private String _sClasspath
_htLoadedClasses
private Hashtable _htLoadedClasses
_htResolvedClasses
private Hashtable _htResolvedClasses
ReflectionClassLoader
public ReflectionClassLoader()
ReflectionClassLoader
public ReflectionClassLoader(String sClasspath_)
getAbsoluteClassFileName
public String getAbsoluteClassFileName(String sFullClassName_)
loadClassFile
public byte[] loadClassFile(String sAbsoluteClassFileName_) throws IOException
loadClassFile
public byte[] loadClassFile(ZipFile zipOpen_,
ZipEntry pZipEntry_) throws IOException, ZipException
getClassFromJavaArchives
public byte[] getClassFromJavaArchives(String sFullClassName_) throws IOException, ZipException
getClassFile
public byte[] getClassFile(String sFullClassName_) throws IOException, ClassNotFoundException, ZipException
loadClass
protected Class loadClass(String sClassName_,
boolean bResolve_) throws ClassNotFoundException
- Throws: ClassNotFoundException
- if the class was not found
- Overrides:
- loadClass in class ClassLoader
setClasspath
public void setClasspath(String sClasspath_)
All Packages Class Hierarchy This Package Previous Next Index