Package herddb.utils

Class CleanDirectoryFileVisitor

  • All Implemented Interfaces:
    FileVisitor<Path>

    public final class CleanDirectoryFileVisitor
    extends SimpleFileVisitor<Path>
    A FileVisitor which delete every file o directory found (excluding starting directory).

    If the visitor is executed on a path denoting a simple file it will just delete the file and exit.

    Author:
    diego.salvi