|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.tireme.shared.Loader
public class Loader
Loader is used to load a class given its name. The implementation varies in different Java environments. From Saxon, author Michael H. Kay (mhkay@iclway.co.uk)
| Constructor Summary | |
|---|---|
Loader()
|
|
| Method Summary | |
|---|---|
static java.lang.Class |
getClass(java.lang.String className)
Load a class using the class name provided. |
static java.lang.Object |
getInstance(java.lang.String className)
Instantiate a class using the class name provided. |
static void |
setTracing(boolean onOrOff)
Switch tracing on or off |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Loader()
| Method Detail |
|---|
public static void setTracing(boolean onOrOff)
onOrOff - boolean
public static java.lang.Class getClass(java.lang.String className)
throws javax.xml.transform.TransformerException
className - A string containing the name of the class, for example
"com.microstar.sax.LarkDriver"
javax.xml.transform.TransformerException - throw an exception if the class cannot be loaded.
public static java.lang.Object getInstance(java.lang.String className)
throws javax.xml.transform.TransformerException
className - A string containing the name of the class, for example
"com.microstar.sax.LarkDriver"
javax.xml.transform.TransformerException - throw an exception if the class cannot be loaded.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||