类 PropertySourcesUtils
-
- com.alibaba.dubbo.config.spring.util.PropertySourcesUtils
-
public abstract class PropertySourcesUtils extends
PropertySources
UtilitiesThe source code is cloned from https://github.com/alibaba/spring-context-support/blob/1.0.2/src/main/java/com/alibaba/spring/util/PropertySourcesUtils.java
- 从以下版本开始:
- 2.6.6
-
-
构造器概要
构造器 构造器 说明 PropertySourcesUtils()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static <,>
<org.springframework.core.env.PropertySource<?>> propertySources, prefix)
Get Substatic <,>
getSubProperties(org.springframework.core.env.ConfigurableEnvironment environment, prefix)
Get Substatic
prefix)
Normalize the prefix
-
-
-
方法详细资料
-
getSubProperties
public static <,> getSubProperties(<org.springframework.core.env.PropertySource<?>> propertySources, prefix)
Get Sub- 参数:
propertySources
-PropertySource
Iterableprefix
- the prefix of property name- 返回:
- Map
- 另请参阅:
-
getSubProperties
public static <,> getSubProperties(org.springframework.core.env.ConfigurableEnvironment environment, prefix)
Get Sub- 参数:
environment
-ConfigurableEnvironment
prefix
- the prefix of property name- 返回:
- Map
- 另请参阅:
-
normalizePrefix
public static normalizePrefix( prefix)
Normalize the prefix- 参数:
prefix
- the prefix- 返回:
- the prefix
-
-