com.l2fprod.util
Class AccessUtils
java.lang.Object
com.l2fprod.util.AccessUtils
public class AccessUtils
- extends java.lang.Object
Created on 11/04/2001 by Frederic Lavigne, fred@L2FProd.com
- Version:
- $Revision: 1.2 $, $Date: 2003/08/25 20:00:47 $
- Author:
- $Author: l2fprod $
Method Summary |
static int |
getAsInt(java.lang.Object p_Object,
java.lang.String p_Method)
|
static int |
getIntValue(java.lang.Class p_Class,
java.lang.String p_Field)
|
static int |
getIntValue(java.lang.Object p_Object,
java.lang.String p_Field)
|
static java.lang.String |
getProperty(java.lang.String name)
Gets the Property attribute of the AccessUtils class |
static java.lang.String |
getProperty(java.lang.String name,
java.lang.String defaultValue)
Gets the Property attribute of the AccessUtils class |
static java.lang.Object |
invoke(java.lang.Object p_Object,
java.lang.String p_Method,
java.lang.Class[] p_ParameterClasses,
java.lang.Object[] p_Parameters)
|
static void |
setAsInt(java.lang.Object p_Object,
java.lang.String p_Method,
int p_Int)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccessUtils
public AccessUtils()
getProperty
public static java.lang.String getProperty(java.lang.String name)
- Gets the Property attribute of the AccessUtils class
- Parameters:
name
- Description of Parameter
- Returns:
- The Property value
getProperty
public static java.lang.String getProperty(java.lang.String name,
java.lang.String defaultValue)
- Gets the Property attribute of the AccessUtils class
- Parameters:
name
- Description of ParameterdefaultValue
- Description of Parameter
- Returns:
- The Property value
getIntValue
public static int getIntValue(java.lang.Class p_Class,
java.lang.String p_Field)
getIntValue
public static int getIntValue(java.lang.Object p_Object,
java.lang.String p_Field)
invoke
public static java.lang.Object invoke(java.lang.Object p_Object,
java.lang.String p_Method,
java.lang.Class[] p_ParameterClasses,
java.lang.Object[] p_Parameters)
getAsInt
public static int getAsInt(java.lang.Object p_Object,
java.lang.String p_Method)
setAsInt
public static void setAsInt(java.lang.Object p_Object,
java.lang.String p_Method,
int p_Int)