|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.common.util.PropertiesLoaderUtils
public final class PropertiesLoaderUtils
Replace by org.springframework.core.io.support.PropertiesLoaderUtils when moving to Spring 2.0.
Method Summary | |
---|---|
static Collection<String> |
getPropertyNames(Properties properties,
String value)
Retrieves the names of all properties that bind to the specified value. |
static Properties |
loadAllProperties(String resourceName,
ClassLoader classLoader)
Load all properties from the given class path resource, using the given class loader. |
static Properties |
loadAllProperties(String resourceName,
ClassLoader classLoader,
Logger logger,
Level level,
String msg)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Properties loadAllProperties(String resourceName, ClassLoader classLoader) throws IOException
Merges properties if more than one resource of the same name found in the class path.
resourceName
- the name of the class path resourceclassLoader
- the ClassLoader to use for loading (or
null
to use the default class loader)
IOException
- if loading failedpublic static Properties loadAllProperties(String resourceName, ClassLoader classLoader, Logger logger, Level level, String msg) throws IOException
IOException
public static Collection<String> getPropertyNames(Properties properties, String value)
properties
- the properties to searchvalue
- the property value
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |