Class RegexPathMatcher
- java.lang.Object
-
- org.apache.sling.dynamicinclude.pathmatcher.RegexPathMatcher
-
- All Implemented Interfaces:
PathMatcher
public class RegexPathMatcher extends java.lang.Object implements PathMatcher
-
-
Constructor Summary
Constructors Constructor Description RegexPathMatcher(java.lang.String configurationRegex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
match(java.lang.String path)
Matches given path with the configured path parameter
-
-
-
Method Detail
-
match
public boolean match(java.lang.String path)
Description copied from interface:PathMatcher
Matches given path with the configured path parameter- Specified by:
match
in interfacePathMatcher
- Parameters:
path
- path to match- Returns:
- true if path matches, false otherwise
-
-