public final class PathUtil extends Object
Modifier and Type | Method and Description |
---|---|
static Pattern |
getChildPathPattern(String parentPath)
Generated a regex pattern that accepts all paths that are direct children of the given parent path.
|
static Pattern |
getSameOrDescendantPathPattern(String path)
Generated a regex pattern that accepts all paths that are same or descendants of the given parent path.
|
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.