Class GlobPatternMatcher
- java.lang.Object
-
- org.apache.tapestry5.ioc.internal.GlobPatternMatcher
-
public class GlobPatternMatcher extends java.lang.Object
Used when matching identifiers. In the early days of T5 IoC, matching was based on shell-style glob matches (a '*' could represent zero or more characters). But that was limiting so now we check to see if the provided pattern looks like a glob (just characters and asterisks, for compatibility with older code) and, if not, we assume it is a regular expression.
-
-
Constructor Summary
Constructors Constructor Description GlobPatternMatcher(java.lang.String pattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(java.lang.String input)
-
-
-
Constructor Detail
-
GlobPatternMatcher
public GlobPatternMatcher(java.lang.String pattern)
-
-
Method Detail
-
matches
public boolean matches(java.lang.String input)
-
-