*
* @throws IOException - if the settings file can't be read
*/
private Settings getSettingsFile(File userSettingsFile) throws IOException {
Map<String, ?> options = Collections.singletonMap(SettingsReader.IS_STRICT, Boolean.TRUE);
SettingsReader reader = new DefaultSettingsReader();
Settings settings = null;
try {
settings = reader.read(userSettingsFile, options);
} catch (SettingsParseException e) {
}
return settings;