|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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 java.util.Collection<java.lang.String> |
getPropertyNames(java.util.Properties properties,
java.lang.String value)
Retrieves the names of all properties that bind to the specified value. |
static java.util.Properties |
loadAllProperties(java.lang.String resourceName,
java.lang.ClassLoader classLoader)
Load all properties from the given class path resource, using the given class loader. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.Properties loadAllProperties(java.lang.String resourceName, java.lang.ClassLoader classLoader) throws java.io.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)
java.io.IOException
- if loading failedpublic static java.util.Collection<java.lang.String> getPropertyNames(java.util.Properties properties, java.lang.String value)
properties
- the properties to searchvalue
- the property value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |