org.codehaus.enunciate.util
Class PatternFileFilter

java.lang.Object
  extended by org.codehaus.enunciate.util.PatternFileFilter
All Implemented Interfaces:
java.io.FileFilter

public class PatternFileFilter
extends java.lang.Object
implements java.io.FileFilter

A file filter that filters based on a pattern.

Author:
Ryan Heaton

Constructor Summary
PatternFileFilter(java.io.File basedir, java.lang.String pattern, AntPatternMatcher matcher)
           
 
Method Summary
 boolean accept(java.io.File pathname)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatternFileFilter

public PatternFileFilter(java.io.File basedir,
                         java.lang.String pattern,
                         AntPatternMatcher matcher)
Method Detail

accept

public boolean accept(java.io.File pathname)
Specified by:
accept in interface java.io.FileFilter