类 AbstractPropertySource
- java.lang.Object
-
- com.alibaba.nacos.client.env.AbstractPropertySource
-
- 直接已知子类:
DefaultSettingPropertySource,JvmArgsPropertySource,PropertiesPropertySource,SystemEnvPropertySource
abstract class AbstractPropertySource extends java.lang.Object
-
-
构造器概要
构造器 构造器 说明 AbstractPropertySource()
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 (专用程序包) abstract java.lang.StringgetProperty(java.lang.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.
-
-
-
方法详细资料
-
getType
abstract SourceType getType()
get property's type.- 返回:
- name
-
getProperty
abstract java.lang.String getProperty(java.lang.String key)
get property, if the value can not be got by the special key, the null will be returned.- 参数:
key- special key- 返回:
- value or null
-
-