net.dpml.tools.tasks
Class DocTask.RegexpFilter
java.lang.Object
net.dpml.tools.tasks.DocTask.RegexpFilter
- All Implemented Interfaces:
- FileFilter
- Enclosing class:
- DocTask
- public class DocTask.RegexpFilter
- extends Object
- implements FileFilter
Utility regualar expression filter.
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 |
DocTask.RegexpFilter
public DocTask.RegexpFilter(String includes,
String excludes)
- New filter creation.
- Parameters:
includes
- the includesexcludes
- the excludes
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