类 PropertiesPropertySource
java.lang.Object
cn.taketoday.core.env.PropertySource<T>
cn.taketoday.core.env.EnumerablePropertySource<Map<String,Object>>
cn.taketoday.core.env.MapPropertySource
cn.taketoday.core.env.PropertiesPropertySource
- 直接已知子类:
MockPropertySource,ResourcePropertySource
PropertySource implementation that extracts properties from a
Properties object.
Note that because a Properties object is technically an
<Object, Object> Hashtable, one may contain
non-String keys or values. This implementation, however is restricted to
accessing only String-based keys and values, in the same fashion as
Properties.getProperty(java.lang.String) and Properties.setProperty(java.lang.String, java.lang.String).
- 从以下版本开始:
- 4.0
- 作者:
- Chris Beams, Juergen Hoeller
-
嵌套类概要
从类继承的嵌套类/接口 cn.taketoday.core.env.PropertySource
PropertySource.StubPropertySource -
字段概要
从类继承的字段 cn.taketoday.core.env.PropertySource
name, source -
构造器概要
构造器限定符构造器说明protectedPropertiesPropertySource(String name, Map<String, Object> source) PropertiesPropertySource(String name, Properties source) -
方法概要
从类继承的方法 cn.taketoday.core.env.MapPropertySource
containsProperty, getProperty
-
构造器详细资料
-
PropertiesPropertySource
-
PropertiesPropertySource
-
-
方法详细资料
-
getPropertyNames
从类复制的说明:EnumerablePropertySourceReturn the names of all properties contained by the source object (nevernull).- 覆盖:
getPropertyNames在类中MapPropertySource
-