jrre.classloader
Class ClassLoader

java.lang.Object
  |
  +--jrre.classloader.ClassLoader

public class ClassLoader
extends java.lang.Object

file name : ClassLoader.java authors : Christopher Ellsworth (Chris@chrisellsworth.com) Clerance Alston (massclax@hotmail.com) created : 10/31/2002 05:19:12 Loads a class file.

Author:
Clarence Alston (massclax@hotmail.com)
, Christoher Ellsworth (chris@chrisellsworth.com)

Field Summary
static boolean verboseOn
           
 
Method Summary
static java.lang.String getClassPath()
          Gets the ClassPath.
 java.lang.StringBuffer getMessages()
          Gets the contents of the buffer of runtime messages from the classloader.
static Class loadClass(java.lang.String className)
           
static byte[] readClassFromJar(java.lang.String jarFileName, java.lang.String fileToRead)
           
static void setClassPath(java.lang.String classPath)
          Sets the ClassPath.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

verboseOn

public static boolean verboseOn
Method Detail

getClassPath

public static java.lang.String getClassPath()
Gets the ClassPath.


setClassPath

public static void setClassPath(java.lang.String classPath)
Sets the ClassPath.


loadClass

public static Class loadClass(java.lang.String className)
Parameters:
className -
Returns:
The loaded Class.

getMessages

public java.lang.StringBuffer getMessages()
Gets the contents of the buffer of runtime messages from the classloader.

Returns:
StringBuffer The messages.

readClassFromJar

public static byte[] readClassFromJar(java.lang.String jarFileName,
                                      java.lang.String fileToRead)


Copyright © 2002-2002 Appalachian State University. All Rights Reserved.