Package org.nuxeo.ecm.webengine.util
Class PathMatcher
- java.lang.Object
-
- org.nuxeo.ecm.webengine.util.PathMatcher
-
- Direct Known Subclasses:
PathMatcher.PrefixMatcher
,PathMatcher.RegexMatcher
public class PathMatcher extends Object
- Author:
- Bogdan Stefanescu
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PathMatcher.PrefixMatcher
static class
PathMatcher.RegexMatcher
-
Constructor Summary
Constructors Modifier Constructor Description protected
PathMatcher()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PathMatcher
getAllMatcher()
static PathMatcher
getPrefixMatcher(String prefix)
static PathMatcher
getRegexMatcher(String regex)
boolean
match(String value)
-
-
-
Method Detail
-
getRegexMatcher
public static PathMatcher getRegexMatcher(String regex)
-
getPrefixMatcher
public static PathMatcher getPrefixMatcher(String prefix)
-
getAllMatcher
public static PathMatcher getAllMatcher()
-
match
public boolean match(String value)
-
-