This utility written in Java allows for visiting a set of files within a directory an apply bulk action written in so-called file visitors. It can be specialized to perform any job on the visited files.
- Implement the
FileVisitor
interface. - Invoke the
FileVisitor.scan(root, fileVisitors)
method, whereroot
is the root file to be scanned, andfileVisitors
are youFileVisitor
implementations.
Open Source Apache 2