public class PathPatternParser extends Object
String patterns into a PathPattern. The String must contain zero to
n parts. The parts can have the following syntax:
?: Wildcard one, matches one element in a path*: Wildcard any, matches zero to n elements in a path[#]: List wildcard, matches a list entry with any index[0]: Matches a list entry with the given number. 0 or positive numbers: Count from beginning,
negative number: Cound from end (-1 is last element)['.*']: Matches a map entry where the key must match the given regular expression. If you need a '
in the expression, just write ''. The example '.*' matches all keys.| Constructor and Description |
|---|
PathPatternParser() |
public PathPattern parse(String input)
Copyright © 2010–2017. All rights reserved.