protected void initConfigs() {
		LOGGER.debug("Loading file: {}", location);
		try {
			protocolBean = Protocols.getInstance().get(location.getProtocol()).newInstance();

			ContentType contentTypeBean = ContentTypes.getInstance().get(configProfile.getContentType()).newInstance();
			cleanAndPutAll(contentTypeBean.resolve(protocolBean.read(location), configProfile.getFileEncoding()));
		} catch (Exception e) {
			throw new RuntimeException(e);
		}
	}
Configuration group loaded from URI location.<br>
<br>
Supported location formats:<br>

<ul>
<li>classpath:config.properties</li>
<li>classpath:config.xml</li>
<li>file:/your/path/config.properties</li>
<li>file:/your/path/config.xml</li>
<li>http://www.yoursite.com/config.properties</li>
<li>http://www.yoursite.com/config.xml</li>
</ul>

@author <a href="mailto:wangyuxuan@dangdang.com">Yuxuan Wang</a>
config-toolkit/src/main/java/com/dangdang/config/service/file/FileConfigGroup.java