public class PathRegexMatcher extends TemplateSourceMatcher
TemplateLoader
;
it's not the full path of a file on the file system.Constructor and Description |
---|
PathRegexMatcher(java.lang.String regex) |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(java.lang.String sourceName,
java.lang.Object templateSource) |
public PathRegexMatcher(java.lang.String regex)
regex
- Glob with the syntax defined by StringUtil.globToRegularExpression(String)
. Must not
start with /
.