Package org.apache.activemq.util
Class IntrospectionSupport
- java.lang.Object
-
- org.apache.activemq.util.IntrospectionSupport
-
public final class IntrospectionSupport extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static void
appendToString(StringBuffer buffer, Object key, Object value)
static String
convertToString(Object value, Class to)
static Map<String,Object>
extractProperties(Map props, String optionPrefix)
static Method
findGetterMethod(Class clazz, String name)
static Method
findSetterMethod(Class clazz, String name)
static boolean
getProperties(Object target, Map props, String optionPrefix)
static boolean
setProperties(Object target, Map<?,?> props)
static boolean
setProperties(Object target, Map<?,?> props, boolean removeIfSet)
static boolean
setProperties(Object target, Map<String,?> props, String optionPrefix)
static boolean
setProperty(Object target, String name, Object value)
static String
simpleName(Class clazz)
static String
toString(Object target)
static String
toString(Object target, Class stopClass)
static String
toString(Object target, Class stopClass, Map<String,Object> overrideFields)
-
-
-
Method Detail
-
setProperties
public static boolean setProperties(Object target, Map<String,?> props, String optionPrefix)
-
extractProperties
public static Map<String,Object> extractProperties(Map props, String optionPrefix)
-
setProperties
public static boolean setProperties(Object target, Map<?,?> props, boolean removeIfSet)
-
toString
public static String toString(Object target, Class stopClass, Map<String,Object> overrideFields)
-
appendToString
protected static void appendToString(StringBuffer buffer, Object key, Object value)
-
-