jregex.util.io
Class WildcardFilter

java.lang.Object
  |
  +--jregex.util.io.WildcardFilter
All Implemented Interfaces:
java.io.FilenameFilter

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


Constructor Summary
WildcardFilter(java.lang.String ptn)
           
WildcardFilter(java.lang.String ptn, boolean icase)
           
 
Method Summary
 boolean accept(java.io.File dir, java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WildcardFilter

public WildcardFilter(java.lang.String ptn)

WildcardFilter

public WildcardFilter(java.lang.String ptn,
                      boolean icase)
Method Detail

accept

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