@Override public void read(final Reader reader) throws ConfigurationException, IOException { fetchFileBased().read(reader); }
/** * Internal helper method for loading a file from the given reader. * * @param in the reader * @throws ConfigurationException if an error occurs */ private void loadFromReader(final Reader in) throws ConfigurationException { fireLoadingEvent(); try { getContent().read(in); } catch (final IOException ioex) { throw new ConfigurationException(ioex); } finally { fireLoadedEvent(); } }