| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static PropertiesUtils. | |
| private static Method[] | |
| private static List | |
| private static Object | |
| private static void | |
| public static void | set(Object
An JavaBean instance instance, String The configuration name that is being set into instance. This
is only used for informational purposes. propertyName, String A String of key=value comma delimited ie: k1=v1,k2=v2,... kvs)Attempts to parse and then set the provided kvs String into the appropriate set method on the provided instance. |
| PropertiesUtils | back to summary |
|---|---|
| public PropertiesUtils() | |
| getMethodMatchingParameter | back to summary |
|---|---|
| private static PropertiesUtils. | |
| getMethods | back to summary |
|---|---|
| private static Method[] getMethods(Class<?> cls) | |
| getMethodsMatchingName | back to summary |
|---|---|
| private static List | |
| invokeMethod | back to summary |
|---|---|
| private static Object invokeMethod(Method method, Object instance, Object... params) throws Exception | |
| processKeyValue | back to summary |
|---|---|
| private static void processKeyValue(Object instance, String propertyName, String kv) | |
| set | back to summary |
|---|---|
| public static void set(Object instance, String propertyName, String kvs) Attempts to parse and then set the provided kvs String into the appropriate set method on the provided instance. Note Keys and values cannot contain '=' or ','
| |
| Access | Constructor and Description |
|---|---|
| public |
| method | back to summary |
|---|---|
| pack-priv final Method method | |
| parsedValue | back to summary |
|---|---|
| pack-priv final Object parsedValue | |
| MethodMatch | back to summary |
|---|---|
| public MethodMatch(Method m, Object p) | |
| getMethod | back to summary |
|---|---|
| public Method getMethod() | |
| getParsedValue | back to summary |
|---|---|
| public Object getParsedValue() | |