org.riotfamily.riot.resource
Class AbstractPathMatchingResourceFilter
java.lang.Object
org.riotfamily.riot.resource.AbstractPathMatchingResourceFilter
- All Implemented Interfaces:
- ResourceFilter
- Direct Known Subclasses:
- MessageResourceFilter, PropertyResourceFilter
public abstract class AbstractPathMatchingResourceFilter
- extends Object
- implements ResourceFilter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractPathMatchingResourceFilter
public AbstractPathMatchingResourceFilter()
setMatch
public void setMatch(String match)
setMatches
public void setMatches(String[] matches)
setPathMatcher
public void setPathMatcher(PathMatcher pathMatcher)
matches
public boolean matches(String path)
- Description copied from interface:
ResourceFilter
- Returns whether the filter should be applied to the resource denoted
by the given path.
- Specified by:
matches
in interface ResourceFilter