类 PropertiesPropertySource
java.lang.Object
com.alibaba.nacos.client.env.AbstractPropertySource
com.alibaba.nacos.client.env.PropertiesPropertySource
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明(专用程序包) voidaddProperties(Properties source) (专用程序包) Propertiesto properties.(专用程序包) booleancontainsKey(PropertiesPropertySource propertiesPropertySource, String key) (专用程序包) booleancontainsKey(String key) Tests if the specified object is a key in this propertySource.private StringgetProperty(PropertiesPropertySource propertiesPropertySource, String key) (专用程序包) StringgetProperty(String key) get property, if the value can not be got by the special key, the null will be returned.(专用程序包) SourceTypegetType()get property's type.(专用程序包) List<Properties> lookForProperties(PropertiesPropertySource propertiesPropertySource, List<Properties> propertiesList) (专用程序包) voidsetProperty(String key, String value)
-
字段详细资料
-
properties
-
parent
-
-
构造器详细资料
-
PropertiesPropertySource
PropertiesPropertySource() -
PropertiesPropertySource
PropertiesPropertySource(PropertiesPropertySource parent)
-
-
方法详细资料
-
getType
SourceType getType()从类复制的说明:AbstractPropertySourceget property's type.- 指定者:
getType在类中AbstractPropertySource- 返回:
- name
-
getProperty
从类复制的说明:AbstractPropertySourceget property, if the value can not be got by the special key, the null will be returned.- 指定者:
getProperty在类中AbstractPropertySource- 参数:
key- special key- 返回:
- value or null
-
getProperty
-
containsKey
从类复制的说明:AbstractPropertySourceTests if the specified object is a key in this propertySource.- 指定者:
containsKey在类中AbstractPropertySource- 参数:
key- key – possible key- 返回:
- true if and only if the specified object is a key in this propertySource, false otherwise.
-
containsKey
-
asProperties
Properties asProperties()从类复制的说明:AbstractPropertySourceto properties.- 指定者:
asProperties在类中AbstractPropertySource- 返回:
- properties
-
lookForProperties
List<Properties> lookForProperties(PropertiesPropertySource propertiesPropertySource, List<Properties> propertiesList) -
setProperty
-
addProperties
-