|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lessvoid.xml.tools.ClassHelper
public final class ClassHelper
Helper to get Class from class name.
Method Summary | ||
---|---|---|
static
|
getInstance(Class<T> clazz)
|
|
static
|
getInstance(String className,
Class<T> type)
dynamically load the given class, create and return a new instance. |
|
static Class<?> |
loadClass(String className)
Load Class with the given full qualified name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Class<?> loadClass(String className)
className
- name of class to load
public static <T> T getInstance(String className, Class<T> type)
T
- classclassName
- classNametype
- type
public static <T> T getInstance(Class<T> clazz)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |