|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.org.bryanray.testtoys.util.BeanUtil
public class BeanUtil
Constructor Summary | |
---|---|
BeanUtil()
|
Method Summary | |
---|---|
static java.lang.Object |
createInstance(java.lang.String className,
java.lang.Class<?>[] constructorTypes,
java.lang.Object[] constructorValues)
Creates a new instance of a class, wrapping any thrown exceptions using ExceptionUtil.convertException(Exception) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanUtil()
Method Detail |
---|
public static java.lang.Object createInstance(java.lang.String className, java.lang.Class<?>[] constructorTypes, java.lang.Object[] constructorValues)
ExceptionUtil.convertException(Exception)
.
className
- The fully qualified class name to instantiate.constructorTypes
- The types of the constructor arguments.constructorValues
- The values of the constructor arguments.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |