| Modifier and Type | Class and Description |
|---|---|
| public static interface | |
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| private static final Log | |
| private static final Map | |
| private static final StringManager |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static Object | |
| public static Object | |
| public static String | |
| public static void | |
| public static Object | |
| public static String | |
| public static Method | |
| public static Method[] | |
| public static Object | |
| private static String | getProperty(String name, Hashtable<Object, Object> staticProp, IntrospectionUtils.
|
| public static boolean | Returns: true if the clazz tested is an
instance of the specified type,
false otherwise.The class to test for a match. clazz, String The name of the type that type)clazz must be.Checks to see if the specified class is an instance of or assignable from the specified type. |
| public static String | Returns: the replacement valueThe value value, Hashtable<Object, Object> Replacement properties staticProp, IntrospectionUtils.Replacement properties dynamicProp,Class loader associated with the code requesting the
property classLoader)Replaces ${NAME} in the value with the value of the property 'NAME'. |
| private static String | replaceProperties(String value, Hashtable<Object, Object> staticProp, IntrospectionUtils.
|
| public static boolean | Returns: true if operation was successfulThe object to set a property on o, String The property name name, String The property value value)Find a method with the right name If found, call the method ( if param is int or boolean we'll convert value to the right type before) - that means you can have setDebug(1). |
| public static boolean | |
| public static boolean | setProperty(Object o, String name, String value, boolean invokeSetProperty, StringBuilder actualMethod)
|
| log | back to summary |
|---|---|
| private static final Log log | |
| objectMethods | back to summary |
|---|---|
| private static final Map<Class<?>, Method[]> objectMethods | |
| sm | back to summary |
|---|---|
| private static final StringManager sm | |
| IntrospectionUtils | back to summary |
|---|---|
| public IntrospectionUtils() | |
| callMethod1 | back to summary |
|---|---|
| public static Object callMethod1(Object target, String methodN, Object param1, String typeParam1, ClassLoader cl) throws Exception | |
| callMethodN | back to summary |
|---|---|
| public static Object callMethodN(Object target, String methodN, Object[] params, Class<?>[] typeParams) throws Exception | |
| capitalize | back to summary |
|---|---|
| public static String capitalize(String name) Reverse of Introspector.decapitalize. | |
| clear | back to summary |
|---|---|
| public static void clear() | |
| convert | back to summary |
|---|---|
| public static Object convert(String object, Class<?> paramType) | |
| escape | back to summary |
|---|---|
| public static String escape(String s) | |
| findMethod | back to summary |
|---|---|
| public static Method findMethod(Class<?> c, String name, Class<?>[] params) | |
| findMethods | back to summary |
|---|---|
| public static Method[] findMethods(Class<?> c) | |
| getProperty | back to summary |
|---|---|
| public static Object getProperty(Object o, String name) | |
| getProperty | back to summary |
|---|---|
| private static String getProperty(String name, Hashtable<Object, Object> staticProp, IntrospectionUtils. | |
| isInstance | back to summary |
|---|---|
| public static boolean isInstance(Class<?> clazz, String type) Checks to see if the specified class is an instance of or assignable from
the specified type. The class | |
| replaceProperties | back to summary |
|---|---|
| public static String replaceProperties(String value, Hashtable<Object, Object> staticProp, IntrospectionUtils. Replaces ${NAME} in the value with the value of the property 'NAME'. Replaces ${NAME:DEFAULT} with the value of the property 'NAME:DEFAULT', if the property 'NAME:DEFAULT' is not set, the expression is replaced with the value of the property 'NAME', if the property 'NAME' is not set, the expression is replaced with 'DEFAULT'. If the property is not set and there is no default the value will be returned unmodified.
| |
| replaceProperties | back to summary |
|---|---|
| private static String replaceProperties(String value, Hashtable<Object, Object> staticProp, IntrospectionUtils. | |
| setProperty | back to summary |
|---|---|
| public static boolean setProperty(Object o, String name, String value) Find a method with the right name If found, call the method ( if param is int or boolean we'll convert value to the right type before) - that means you can have setDebug(1). | |
| setProperty | back to summary |
|---|---|
| public static boolean setProperty(Object o, String name, String value, boolean invokeSetProperty) | |
| setProperty | back to summary |
|---|---|
public static boolean setProperty(Object o, String name, String value, boolean invokeSetProperty, StringBuilder actualMethod)
| |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| getProperty | back to summary |
|---|---|
| public String getProperty(String key) | |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: The property value ornull if it could not be found
or if PermissionCheck#check(java.
failsThe key of the requested property key, ClassLoader The class loader associated with the code that
trigger the property lookup classLoader)Obtain a property value, checking that code associated with the provided class loader has permission to access the property. |
| getProperty | back to summary |
|---|---|
| public String getProperty(String key, ClassLoader classLoader) Obtain a property value, checking that code associated with the
provided class loader has permission to access the property. If the
| |