Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD

## org.gradle.api.file
Interface FileVisitor

    interface FileVisitor

A `FileVisitor` is used to visit each of the files in a FileTree.

author:
  Steve Appling

Method Summary
`void` | `visitDir(FileVisitDetails dirDetails)` Visits a directory.
`void` | `visitFile(FileVisitDetails fileDetails)` Visits a file.

Method Detail

### visitDir

    public void visitDir(FileVisitDetails dirDetails)

  Visits a directory.
  param:
    dirDetails Meta-info about the directory.

### visitFile

    public void visitFile(FileVisitDetails fileDetails)

  Visits a file.
  param:
    fileDetails Meta-info about the file.

Groovy Documentation