dsto.dfc.tools
Class WildcardResourceMatcher
java.lang.Object
dsto.dfc.tools.WildcardResourceMatcher
- All Implemented Interfaces:
- ResourceMatcher
public final class WildcardResourceMatcher
- extends Object
- implements ResourceMatcher
A resource matcher that matches via wilcard (file glob-like).
Globbing is actually implemented using regular expressions, so it's
not quite compatible.
- Version:
- $Revision$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WildcardResourceMatcher
public WildcardResourceMatcher(String expression)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
matches
public boolean matches(String resourceName)
- Specified by:
matches
in interface ResourceMatcher
Copyright © 2008 Commonwealth of Australia