|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.loom.util.PropertyUtils
public class PropertyUtils
Constructor Summary | |
---|---|
PropertyUtils()
|
Method Summary | |
---|---|
static java.lang.String |
concatPropertyPath(java.lang.String... propertyNames)
Concats properties to form a property path |
static java.lang.String |
getLastNode(java.lang.String propertyPath)
Returns the last node of a property path a.b.c becomes c a.b becomes b a becomes a |
static java.lang.String |
normalize(java.lang.String propertyPath)
Normalize a property path. |
static java.lang.String |
removeRootNode(java.lang.String propertyPath)
Pops the root level of a property path: a.b.c becomes b.c a.b becomes b a becomes null |
static java.lang.String[] |
split(java.lang.String propertyPath)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyUtils()
Method Detail |
---|
public static java.lang.String[] split(java.lang.String propertyPath)
public static java.lang.String normalize(java.lang.String propertyPath)
propertyPath
- the property path as is in the HttpServletRequest object, e.g. child.parent[5].name
MalformedPropertyPathException
- If there is any index that misses the ending ']'public static java.lang.String concatPropertyPath(java.lang.String... propertyNames)
public static java.lang.String removeRootNode(java.lang.String propertyPath)
public static java.lang.String getLastNode(java.lang.String propertyPath)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |