net.dpml.tools.tasks
Class DocTask.RegexpFilter

java.lang.Object
  extended bynet.dpml.tools.tasks.DocTask.RegexpFilter
All Implemented Interfaces:
FileFilter
Enclosing class:
DocTask

public class DocTask.RegexpFilter
extends Object
implements FileFilter

Utility regualar expression filter.


Constructor Summary
DocTask.RegexpFilter(String includes, String excludes)
          New filter creation.
 
Method Summary
 boolean accept(File file)
          Test supplied file for acceptance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocTask.RegexpFilter

public DocTask.RegexpFilter(String includes,
                            String excludes)
New filter creation.

Parameters:
includes - the includes
excludes - the excludes
Method Detail

accept

public boolean accept(File file)
Test supplied file for acceptance.

Specified by:
accept in interface FileFilter
Parameters:
file - the candidate
Returns:
TRUE if acceptable