public class ObjectPathUtils
extends java.lang.Object
Constructor and Description |
---|
ObjectPathUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
formatValuePath(java.lang.String[] path)
Converts an array of identifiers to a dot-separated string, enclosing identifiers, containing dots, in square
brackets.
|
static boolean |
isSpecialPath(java.lang.String path) |
static java.lang.String[] |
parseValuePath(java.lang.String path)
Converts a string of identifiers separated by dots to an array.
|
public static java.lang.String[] parseValuePath(@Nullable java.lang.String path)
car.driver.name [car.field].driver.name
path
- value path as stringpublic static java.lang.String formatValuePath(java.lang.String[] path)
path
- value path as arraypublic static boolean isSpecialPath(java.lang.String path)