类 AbstractPropertySource
java.lang.Object
com.alibaba.nacos.client.env.AbstractPropertySource
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明(专用程序包) abstract Propertiesto properties.(专用程序包) abstract booleancontainsKey(String key) Tests if the specified object is a key in this propertySource.(专用程序包) abstract StringgetProperty(String key) get property, if the value can not be got by the special key, the null will be returned.(专用程序包) abstract SourceTypegetType()get property's type.
-
构造器详细资料
-
AbstractPropertySource
AbstractPropertySource()
-
-
方法详细资料
-
getType
get property's type.- 返回:
- name
-
getProperty
get property, if the value can not be got by the special key, the null will be returned.- 参数:
key- special key- 返回:
- value or null
-
containsKey
Tests if the specified object is a key in this propertySource.- 参数:
key- key – possible key- 返回:
- true if and only if the specified object is a key in this propertySource, false otherwise.
-
asProperties
to properties.- 返回:
- properties
-