88899091929394959697
} } private Preferences load(Resource resource) { try { return new IniPreferences(resource.getInputStream()); } catch (Exception e) { throw new ConstrettoException(e); } }
522523524525526527528
@NotNull private Preferences loadPreferences() throws IOException { File preferencesDirectory = getRelativeDirectory( "." ); Wini ini = new Wini( new File( preferencesDirectory, DEFAULT_CONFIG_FILE ) ); return new IniPreferences( ini ); }