dsto.dfc.tools
Class RegexpResourceMatcher

java.lang.Object
  extended by 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$

Constructor Summary
RegexpResourceMatcher(String regex)
           
 
Method Summary
 boolean matches(String resourceName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegexpResourceMatcher

public RegexpResourceMatcher(String regex)
                      throws IllegalArgumentException
Throws:
IllegalArgumentException
Method Detail

matches

public boolean matches(String resourceName)
Specified by:
matches in interface ResourceMatcher


Copyright © 2008 Commonwealth of Australia