Class ExternalFileDeleter

java.lang.Object
fr.flowarg.flowupdater.utils.ExternalFileDeleter
All Implemented Interfaces:
IFileDeleter

public class ExternalFileDeleter extends Object implements IFileDeleter
A file deleter designed to check external files.
  • Constructor Details

    • ExternalFileDeleter

      public ExternalFileDeleter()
  • Method Details

    • delete

      public void delete(@NotNull @NotNull List<ExternalFile> externalFiles, DownloadList downloadList, Path dir) throws Exception
      Delete all bad files in the provided directory.
      Parameters:
      externalFiles - the list of external files.
      downloadList - the download list.
      dir - the base dir.
      Throws:
      Exception - thrown if an error occurred