public class ExternalFileDeleter extends java.lang.Object implements IFileDeleter
| Constructor and Description |
|---|
ExternalFileDeleter() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(@NotNull java.util.List<ExternalFile> externalFiles,
DownloadList downloadList,
java.nio.file.Path dir)
Delete all bad files in the provided directory.
|
public void delete(@NotNull
@NotNull java.util.List<ExternalFile> externalFiles,
DownloadList downloadList,
java.nio.file.Path dir)
throws java.lang.Exception
externalFiles - the list of external files.downloadList - the download list.dir - the base dir.java.lang.Exception - thrown if an error occurred