|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.ClassLoader | +--ter.API.ClassLoader.GeneralClassLoader
Title: JavInspector
Description: a General Abstrract Class Loader
Company: Université de Nice Sophia Antipolis (UNSA)
Constructor Summary | |
GeneralClassLoader()
Default constructor |
Method Summary | |
java.lang.Class |
loadClass(java.lang.String className)
loads the class className
this call is equivalent to : loadClass(className, true); |
java.lang.Class |
loadClass(java.lang.String className,
boolean resolveIt)
loads the class className |
void |
setClassNameReplacementChar(char replacement)
Sets the package spearator char (default is '.') |
abstract void |
setFilePrefix(java.lang.String str)
Changes the prefix of the class to load (ex : the classpath or the jar file) |
Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GeneralClassLoader()
Method Detail |
public java.lang.Class loadClass(java.lang.String className) throws java.lang.ClassNotFoundException
className
this call is equivalent to : loadClass(className, true);
loadClass
in class java.lang.ClassLoader
className
- the name of the class to load
java.lang.ClassNotFoundException
public java.lang.Class loadClass(java.lang.String className, boolean resolveIt) throws java.lang.ClassNotFoundException
className
loadClass
in class java.lang.ClassLoader
className
- the name of the class to loadresolveIt
- tells wether the loader should call the :
parent.resolvClass(className);
java.lang.ClassNotFoundException
java.lang.NoClassDefFoundError
public void setClassNameReplacementChar(char replacement)
replacement
- public abstract void setFilePrefix(java.lang.String str) throws java.io.IOException
str
-
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |