dsto.dfc.tools
Class RegexpResourceMatcher
java.lang.Object
dsto.dfc.tools.RegexpResourceMatcher
- All Implemented Interfaces:
- ResourceMatcher
public class RegexpResourceMatcher
- extends Object
- implements ResourceMatcher
A resource matcher that matches via regular expressions.
- Version:
- $Revision$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegexpResourceMatcher
public RegexpResourceMatcher(String regex)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
matches
public boolean matches(String resourceName)
- Specified by:
matches
in interface ResourceMatcher
Copyright © 2008 Commonwealth of Australia