|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kemet.lf.tools.ReflexionToolBox
public class ReflexionToolBox
ReflexionToolBox : Toolbox for reflexion.
| Constructor Summary | |
|---|---|
ReflexionToolBox()
|
|
| Method Summary | |
|---|---|
static java.util.ArrayList |
execGenericMethodWithArrayListReturn(java.lang.Class cl,
java.lang.String name,
java.util.Vector param)
execute a method with arrayList type returned value. |
static java.lang.Object |
execGenericMethodWithObjectReturn(java.lang.Class cl,
java.lang.String name,
java.util.Vector param)
execute a method with object returned value. |
static int |
execInitMethod(java.lang.String target)
execute a init method. |
static int |
execInitMethodForJMenu(java.lang.String target)
execute a init method for JMenu method. |
static java.util.List<java.lang.Object> |
execInitMethodWithReturn(java.lang.String target)
execute a method with object list returned value. |
static java.util.List<java.lang.Object> |
execInitMethodWithReturn(java.lang.String target,
java.util.Vector<java.lang.Object[]> param)
execute a method with object list returned value. |
static void |
execMethod(java.lang.String className,
java.lang.String methodName,
java.util.Vector<java.lang.Object[]> param)
execute a method |
static void |
execMethodWithNoReturn(java.lang.Class cl,
java.lang.String name,
java.util.Vector<java.lang.Object[]> param)
execute a method with no return. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReflexionToolBox()
| Method Detail |
|---|
public static java.util.ArrayList execGenericMethodWithArrayListReturn(java.lang.Class cl,
java.lang.String name,
java.util.Vector param)
throws ExceptionManager
execute a method with arrayList type returned value.
cl - the classname - name of the methodparam - parameters method (type and value)
ExceptionManager
public static java.lang.Object execGenericMethodWithObjectReturn(java.lang.Class cl,
java.lang.String name,
java.util.Vector param)
throws ExceptionManager
execute a method with object returned value.
cl - the classname - name of the methodparam - parameters method (type and value)
ExceptionManagerpublic static int execInitMethodForJMenu(java.lang.String target)
execute a init method for JMenu method.
target - method to treat
public static int execInitMethod(java.lang.String target)
execute a init method.
target - method to treat
public static java.util.List<java.lang.Object> execInitMethodWithReturn(java.lang.String target)
throws ExceptionManager
execute a method with object list returned value.
target - method to treat
ExceptionManager
public static java.util.List<java.lang.Object> execInitMethodWithReturn(java.lang.String target,
java.util.Vector<java.lang.Object[]> param)
throws ExceptionManager
execute a method with object list returned value.
target - method to treatparam - list of parameters
ExceptionManager
public static void execMethod(java.lang.String className,
java.lang.String methodName,
java.util.Vector<java.lang.Object[]> param)
throws ExceptionManager
execute a method
className - name of the classmethodName - Name name of the methodparam - list of parameters
ExceptionManager
public static void execMethodWithNoReturn(java.lang.Class cl,
java.lang.String name,
java.util.Vector<java.lang.Object[]> param)
throws ExceptionManager
execute a method with no return.
cl - classname - name of the methodparam - list of parameters
ExceptionManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||