jtp.util
Class PropertyUtils
java.lang.Object
|
+--jtp.util.PropertyUtils
- public class PropertyUtils
- extends Object
PropertyUtils.java
Created: Sun Jan 28 03:45:06 2001
Method Summary |
static void |
copyProperty(Object source,
String propName,
Object target)
|
static void |
copyProperty(Object source,
String srcPropName,
Object target,
String tgtPropName)
|
static Method |
findGetter(Object target,
String tgtPropName)
|
static Method |
findSetter(Object target,
String tgtPropName)
|
static Object |
getProperty(Object source,
String propName)
|
static void |
setProperty(Object target,
String propName,
Object value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyUtils
public PropertyUtils()
findGetter
public static Method findGetter(Object target,
String tgtPropName)
throws IntrospectionException
IntrospectionException
findSetter
public static Method findSetter(Object target,
String tgtPropName)
throws IntrospectionException
IntrospectionException
copyProperty
public static void copyProperty(Object source,
String propName,
Object target)
getProperty
public static Object getProperty(Object source,
String propName)
setProperty
public static void setProperty(Object target,
String propName,
Object value)
copyProperty
public static void copyProperty(Object source,
String srcPropName,
Object target,
String tgtPropName)