org.apache.tools.ant
Class DesirableFilter

java.lang.Object
  |
  +--org.apache.tools.ant.DesirableFilter
All Implemented Interfaces:
java.io.FilenameFilter

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

Filters filenames to determine whether or not the file is desirable.

Author:
Jason Hunter [jhunter@servlets.com], james@x180.com

Constructor Summary
DesirableFilter()
           
 
Method Summary
 boolean accept(java.io.File dir, java.lang.String name)
          Test the given filename to determine whether or not it's desirable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DesirableFilter

public DesirableFilter()
Method Detail

accept

public boolean accept(java.io.File dir,
                      java.lang.String name)
Test the given filename to determine whether or not it's desirable. This helps tasks filter temp files and files used by CVS.
Specified by:
accept in interface java.io.FilenameFilter


Copyright ? 2000 Apache Software Foundation. All Rights Reserved.