public class Loader
extends java.lang.Object
| Constructor and Description |
|---|
Loader() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Class |
getClass(java.lang.String className)
Load a class using the class name provided.
Note that the method does not check that the object is of the right class. |
static java.lang.Object |
getInstance(java.lang.String className)
Instantiate a class using the class name provided.
Note that the method does not check that the object is of the right class. |
static void |
setTracing(boolean onOrOff)
Switch tracing on or off
|
public static void setTracing(boolean onOrOff)
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.TransformerExceptionpublic 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