/** Loads the configuration file. All errors are thrown away. */ public void load() { FileInputStream stream = null; try { stream = new FileInputStream(file); read(yaml.load(new UnicodeReader(stream))); } catch (IOException e) { root = new HashMap<String, Object>(); } catch (ConfigurationException e) { root = new HashMap<String, Object>(); } finally { try { if (stream != null) { stream.close(); } } catch (IOException e) { } } }