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

## org.apache.commons.vfs
Class FileFilterSelector

    java.lang.Object
      org.apache.commons.vfs.FileDepthSelector
          org.apache.commons.vfs.FileFilterSelector

All Implemented Interfaces:
  FileSelector

public class FileFilterSelector
extends FileDepthSelector

A `FileSelector` that selects all children of the given fileObject.
This is to mimic the `FileFilter` interface

Author:
  Mario Ivankovits

Constructor Summary
`FileFilterSelector()`
`FileFilterSelector(FileFilter fileFilter)`

Method Summary
`boolean` | `accept(FileSelectInfo fileInfo)`
`boolean` | `includeFile(FileSelectInfo fileInfo)` Determines if a file or folder should be selected.

Methods inherited from class org.apache.commons.vfs.FileDepthSelector
`traverseDescendents`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### FileFilterSelector

    public FileFilterSelector()

### FileFilterSelector

    public FileFilterSelector(FileFilter fileFilter)

Method Detail

### includeFile

    public boolean includeFile(FileSelectInfo fileInfo)

  Determines if a file or folder should be selected.

  Specified by:
    `includeFile` in interface `FileSelector`
  Overrides:
    `includeFile` in class `FileDepthSelector`

### accept

    public boolean accept(FileSelectInfo fileInfo)

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

Copyright © 2002-2006 The Apache Software Foundation. All Rights Reserved.