SimpleFileVisitor is a class with default implementation to visit all files and on error it will re-throw errors. Instead of implementing FileVisitor we can choose to extend SimpleFileVisitor and override only methods of our need.
SimpleFileVisitor
is a class with default implementation to visit all files and on error it will re-throw errors. Instead of implementing FileVisitor
we can choose to extend SimpleFileVisitor
and override only methods of our need.