Interface SupportsBulkOperations

  • All Superinterfaces:
    java.lang.AutoCloseable, java.io.Closeable, FileIO, java.io.Serializable
    All Known Subinterfaces:
    DelegateFileIO

    public interface SupportsBulkOperations
    extends FileIO
    • Method Detail

      • deleteFiles

        void deleteFiles​(java.lang.Iterable<java.lang.String> pathsToDelete)
                  throws BulkDeletionFailureException
        Delete the files at the given paths.
        Parameters:
        pathsToDelete - The paths to delete
        Throws:
        BulkDeletionFailureException - in case of failure to delete at least 1 file