|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eviline.BasicPropertySource
public class BasicPropertySource
A basic implementation of PropertySource
backed by a Map
.
Field Summary | |
---|---|
protected Map<String,String> |
map
The map that backs this BasicPropertySource . |
Constructor Summary | |
---|---|
BasicPropertySource()
Create a new BasicPropertySource backed by a TreeMap |
|
BasicPropertySource(Map<String,String> p)
Create a BasicPropertySource backed by the argument Map . |
|
BasicPropertySource(Properties p)
Create a BasicPropertySource backed by the argument Properties . |
Method Summary | |
---|---|
boolean |
containsKey(String key)
Does the specified property key exist? |
String |
get(String key)
Return the value of the specified property key |
Set<String> |
keys()
Return the set of all property keys |
String |
put(String key,
String value)
Set the value of the specified property key |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Map<String,String> map
BasicPropertySource
.
Constructor Detail |
---|
public BasicPropertySource()
BasicPropertySource
backed by a TreeMap
public BasicPropertySource(Properties p)
BasicPropertySource
backed by the argument Properties
.
p
- public BasicPropertySource(Map<String,String> p)
BasicPropertySource
backed by the argument Map
.
p
- Method Detail |
---|
public boolean containsKey(String key)
PropertySource
containsKey
in interface PropertySource
public String get(String key)
PropertySource
get
in interface PropertySource
public String put(String key, String value)
PropertySource
put
in interface PropertySource
public Set<String> keys()
PropertySource
keys
in interface PropertySource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |