edu.utep.cs.utjml.rat
Class RatClassLoader
java.lang.Object
java.lang.ClassLoader
edu.utep.cs.utjml.rat.RatClassLoader
public class RatClassLoader
- extends ClassLoader
A special class loader to take into account of rat-specific
options such as -C (--classpath). To load a class, an inherited
method Class loadClass(String) should be used for
portability; the method Class Class.forName(String)
should not be used.
- Version:
- $Revision: 1.1 $
- Author:
- Yoonsik Cheon
| 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 |
RatClassLoader
public RatClassLoader()
findClass
protected Class findClass(String name)
throws ClassNotFoundException
- Finds the specified class. This method is overridden here to
take into account of rat-specific option, such as -C
(--classpath). This method will be called by the loadClass
method after checking the parent class loader for the requested
class.
- Overrides:
findClass in class ClassLoader
- Throws:
ClassNotFoundException
UTJML is Copyright (C) 2004-2006 by University of Texas at El Paso and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the JML project.