}
}
public static ConfigDTO readConfigFromFile() {
try {
ConfigDTO readValue = (new ObjectMapper()).readValue(new File("config.json"), ConfigDTO.class);
return readValue != null ? readValue : new ConfigDTO();
} catch (IOException ex) {
Logger.getLogger(ConfigurationHandler.class.getName()).log(Level.SEVERE, null, ex);
return null;
}