Add property for file exclusion

This commit is contained in:
2022-04-04 23:40:42 +02:00
parent 5d86b43388
commit 5cbf3fede2
9 changed files with 87 additions and 64 deletions

View File

@@ -19,7 +19,7 @@ public class MkvFileCollector implements FileCollector {
public List<File> loadFiles(String path) {
File file = new File(path);
if (file.isFile() && file.getAbsolutePath().endsWith(".mkv")) {
return new ArrayList<File>() {{
return new ArrayList<>() {{
add(file);
}};
} else if (file.isDirectory()) {