org.apache.tapestry5.ioc.internal
Class GlobPatternMatcher
java.lang.Object
org.apache.tapestry5.ioc.internal.GlobPatternMatcher
public class GlobPatternMatcher
- extends 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlobPatternMatcher
public GlobPatternMatcher(String pattern)
matches
public boolean matches(String input)
Copyright © 2003-2012 The Apache Software Foundation.