Interface SmartDirectoryCleaner


  • public interface SmartDirectoryCleaner
    Clean directory with notifications for files/directories that can not be cleaned up.
    Since:
    4.0
    Author:
    Eugene Petrenko
    • Method Detail

      • cleanFolder

        void cleanFolder​(@NotNull
                         java.io.File file,
                         @NotNull
                         SmartDirectoryCleanerCallback callback)
        Removes folder providing smart error callbacks. Does not treat empty folders as errors
        Parameters:
        file - folder to clean
        callback - cleaning events callback