|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.core.env.PropertySource<T> org.springframework.core.env.EnumerablePropertySource<Map<String,Object>> org.springframework.core.env.MapPropertySource org.springframework.core.env.PropertiesPropertySource
public class PropertiesPropertySource
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)
.
MockPropertySource
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.springframework.core.env.PropertySource |
---|
PropertySource.StubPropertySource |
Field Summary |
---|
Fields inherited from class org.springframework.core.env.EnumerablePropertySource |
---|
EMPTY_NAMES_ARRAY, logger |
Fields inherited from class org.springframework.core.env.PropertySource |
---|
name, source |
Constructor Summary | |
---|---|
PropertiesPropertySource(String name,
Properties source)
|
Method Summary |
---|
Methods inherited from class org.springframework.core.env.MapPropertySource |
---|
getProperty, getPropertyNames |
Methods inherited from class org.springframework.core.env.EnumerablePropertySource |
---|
containsProperty |
Methods inherited from class org.springframework.core.env.PropertySource |
---|
equals, getName, getSource, hashCode, named, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PropertiesPropertySource(String name, Properties source)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |