# Uses of Interface
com.norconex.commons.lang.file.FileVisitor

Packages that use FileVisitor
Package
Description
com.norconex.commons.lang.file
File-related utility classes.

- ## Uses of FileVisitor in com.norconex.commons.lang.file

  Subinterfaces of FileVisitor in com.norconex.commons.lang.file
  Modifier and Type
  Interface
  Description
  `interface`
  `IFileVisitor`
  Deprecated.
  Use `FileVisitor` instead.
  Methods in com.norconex.commons.lang.file with parameters of type FileVisitor
  Modifier and Type
  Method
  Description
  `static void`
  FileUtil.`visitAllDirs(File dir, FileVisitor visitor)`
  Visits only directories under a directory.
  `static void`
  FileUtil.`visitAllDirs(File dir, FileVisitor visitor, FileFilter filter)`
  Visits only directories under a directory.
  `static void`
  FileUtil.`visitAllDirsAndFiles(File dir, FileVisitor visitor)`
  Visits all files and directories under a directory.
  `static void`
  FileUtil.`visitAllDirsAndFiles(File dir, FileVisitor visitor, FileFilter filter)`
  Visits all files and directories under a directory.
  `static void`
  FileUtil.`visitAllFiles(File dir, FileVisitor visitor)`
  Visits all files (and only files) under a directory, including sub-directories.
  `static void`
  FileUtil.`visitAllFiles(File dir, FileVisitor visitor, FileFilter filter)`
  Visits all files (and only files) under a directory, including sub-directories.
  `static void`
  FileUtil.`visitEmptyDirs(File dir, FileVisitor visitor)`
  Visits only empty directories under a directory.
  `static void`
  FileUtil.`visitEmptyDirs(File dir, FileVisitor visitor, FileFilter filter)`
  Visits only empty directories under a directory.