|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.beans.PropertyAccessorUtils
public abstract class PropertyAccessorUtils
Utility methods for classes that perform bean property access according to the PropertyAccessor interface.
PropertyAccessor
Constructor Summary | |
---|---|
PropertyAccessorUtils()
|
Method Summary | |
---|---|
static int |
getFirstNestedPropertySeparatorIndex(String propertyPath)
Determine the first nested property separator in the given property path, ignoring dots in keys (like "map[my.key]"). |
static int |
getLastNestedPropertySeparatorIndex(String propertyPath)
Determine the first nested property separator in the given property path, ignoring dots in keys (like "map[my.key]"). |
static String |
getPropertyName(String propertyPath)
Return the actual property name for the given property path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyAccessorUtils()
Method Detail |
---|
public static String getPropertyName(String propertyPath)
propertyPath
- the property path to determine the property name
for (can include property keys, for example for specifying a map entry)
public static int getFirstNestedPropertySeparatorIndex(String propertyPath)
propertyPath
- the property path to check
public static int getLastNestedPropertySeparatorIndex(String propertyPath)
propertyPath
- the property path to check
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |