Package org.apache.cxf.common.util
Class PropertiesLoaderUtils
- java.lang.Object
- 
- org.apache.cxf.common.util.PropertiesLoaderUtils
 
- 
 public final class PropertiesLoaderUtils extends Object Replace by org.springframework.core.io.support.PropertiesLoaderUtils when moving to Spring 2.0.
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static PropertiesloadAllProperties(String resourceName, ClassLoader classLoader)Load all properties from the given class path resource, using the given class loader.static PropertiesloadAllProperties(String resourceName, ClassLoader classLoader, Logger logger, Level level, String msg)
 
- 
- 
- 
Method Detail- 
loadAllPropertiespublic static Properties loadAllProperties(String resourceName, ClassLoader classLoader) throws IOException Load all properties from the given class path resource, using the given class loader.Merges properties if more than one resource of the same name found in the class path. - Parameters:
- resourceName- the name of the class path resource
- classLoader- the ClassLoader to use for loading (or- nullto use the default class loader)
- Returns:
- the populated Properties instance
- Throws:
- IOException- if loading failed
 
 - 
loadAllPropertiespublic static Properties loadAllProperties(String resourceName, ClassLoader classLoader, Logger logger, Level level, String msg) throws IOException - Throws:
- IOException
 
 
- 
 
-