PropertySource implementation that extracts properties from a
java.util.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 and Properties#setProperty.
| Access | Constructor and Description |
|---|---|
| public | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public String[] | getPropertyNames()
Overrides org. null).
|
| PropertiesPropertySource | back to summary |
|---|---|
public PropertiesPropertySource(String name, Properties source)
| |
| PropertiesPropertySource | back to summary |
|---|---|
| protected PropertiesPropertySource(String name, Map<String, Object> source) | |
| getPropertyNames | back to summary |
|---|---|
| public String[] getPropertyNames() Overrides org. Doc from org. Return the names of all properties contained by the
source object (never
| |