public abstract class PropertiesUtil extends Object
| Constructor and Description |
|---|
PropertiesUtil() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 - Copyright © 2006–2023. All rights reserved.