Ant API: Class DesirableFilter

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tools.ant
Class DesirableFilter

    java.lang.Object
      |
      +--org.apache.tools.ant.DesirableFilter

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

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000 Apache Software Foundation. All Rights Reserved.