|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.gemini.blueprint.test.internal.util.PropertiesUtil
public abstract class PropertiesUtil
Loads a property file performing key expansion. Provides simple property substitution, without support for inner or nested placeholders. Also, the algorithm does only one parsing so derivative placeholders are not supported.
| Constructor Summary | |
|---|---|
PropertiesUtil()
|
|
| Method Summary | |
|---|---|
static Properties |
expandProperties(Properties props)
Apply placeholder expansion to the given properties object. |
static Properties |
filterKeysStartingWith(Properties properties,
String prefix)
Filter/Eliminate keys that start with the given prefix. |
static Properties |
filterValuesStartingWith(Properties properties,
String prefix)
Filter/Eliminate keys that have a value that starts with the given prefix. |
static Properties |
loadAndExpand(org.springframework.core.io.Resource resource)
Shortcut method - loads a property object from the given input stream and applies property expansion. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertiesUtil()
| Method Detail |
|---|
public static Properties loadAndExpand(org.springframework.core.io.Resource resource)
resource -
public static Properties filterKeysStartingWith(Properties properties,
String prefix)
properties - prefix -
public static Properties filterValuesStartingWith(Properties properties,
String prefix)
properties - prefix -
public static Properties expandProperties(Properties props)
props -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||