Refactor CSV export settings and enhance file handling features with the addition of menu bar's menu items with added functionality

This commit is contained in:
bobbert committed 2025-04-02 17:02:50 +01:00
1 parent 4932161b61
commit 8c4990a801
3 files changed
+249 -17

No files matched your search

@@ -1,4 +1,4 @@
package cvbuilder.model;
package cvbuilder.controller;
import java.util.HashMap;
import java.util.Map;
@@ -28,6 +28,10 @@ public class CsvExportSettings {
}
public boolean isIncluded(String fieldName) {
// Always include name and email regardless of settings
if (fieldName.equalsIgnoreCase("name") || fieldName.equalsIgnoreCase("email")) {
return true;
}
return includeMap.getOrDefault(fieldName.toLowerCase(), true);
}
}