public abstract class PropertySourcesUtils extends Object
PropertySources Utilities
| Constructor and Description |
|---|
PropertySourcesUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
buildPrefix(String prefix)
Build the prefix
|
static Map<String,Object> |
getPrefixedProperties(Iterable<org.springframework.core.env.PropertySource<?>> propertySources,
String prefix)
Get prefixed
Properties |
static Map<String,Object> |
getPrefixedProperties(org.springframework.core.env.PropertySources propertySources,
String prefix)
Get prefixed
Properties |
public static Map<String,Object> getPrefixedProperties(Iterable<org.springframework.core.env.PropertySource<?>> propertySources, String prefix)
PropertiespropertySources - PropertySource Iterableprefix - the prefix of property namePropertiespublic static Map<String,Object> getPrefixedProperties(org.springframework.core.env.PropertySources propertySources, String prefix)
PropertiespropertySources - PropertySourcesprefix - the prefix of property namePropertiesCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.