be.SIRAPRISE.util
Class SiraPriseRegexFilter

java.lang.Object
  extended by be.SIRAPRISE.util.SiraPriseRegexFilter
All Implemented Interfaces:
java.io.FilenameFilter

public class SiraPriseRegexFilter
extends java.lang.Object
implements java.io.FilenameFilter

Author:
Erwin Smout

Constructor Summary
SiraPriseRegexFilter(java.lang.String regex)
          Creates the regexfilter
 
Method Summary
 boolean accept(java.io.File dir, java.lang.String name)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SiraPriseRegexFilter

public SiraPriseRegexFilter(java.lang.String regex)
Creates the regexfilter

Parameters:
regex - The regular expression to which filenames are to match
Method Detail

accept

public boolean accept(java.io.File dir,
                      java.lang.String name)
Specified by:
accept in interface java.io.FilenameFilter