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