List of usage examples for org.apache.commons.collections ExtendedProperties load
public synchronized void load(InputStream input, String enc) throws IOException
From source file:egovframework.rte.fdl.property.impl.EgovPropertyServiceImpl.java
/** * ? ? egovProperties? //from w w w . j a v a2 s . c o m * @param resources * * @param encoding * ? * @throws Exception */ private void loadPropertyRes(Resource resource, String encoding) throws Exception { if (EgovPropertyService.LOGGER.isDebugEnabled()) { EgovPropertyService.LOGGER.debug(messageSource.getMessage("debug.properties.filename", new String[] { resource.getFilename(), encoding }, Locale.getDefault())); } ExtendedProperties egovProperty = new ExtendedProperties(); egovProperty.load(resource.getInputStream(), encoding); egovProperties.combine(egovProperty); }