|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.emi.dsr.util.PropertyHelper
public class PropertyHelper
Helper for dealing with groups of properties
| Constructor Summary | |
|---|---|
PropertyHelper(Map properties,
boolean isRegexp,
String... patterns)
filter the given properties using the supplied patterns |
|
PropertyHelper(Map properties,
String... patterns)
filter the given properties using the supplied patterns |
|
| Method Summary | |
|---|---|
Map<String,String> |
getFilteredMap()
gets the properties whose keys match the accepted patterns |
Map<String,String> |
getFilteredMap(String containedString)
gets the properties whose keys match the accepted patterns AND whose keys contain the supplied string |
Iterator<String> |
keys()
returns an iterator over the valid keys |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyHelper(Map properties,
String... patterns)
public PropertyHelper(Map properties,
boolean isRegexp,
String... patterns)
properties - - the propertiesisRegexp - - whether the patterns denote Java regular expressionspatterns - - the accepted patterns| Method Detail |
|---|
public Iterator<String> keys()
public Map<String,String> getFilteredMap()
public Map<String,String> getFilteredMap(String containedString)
containedString -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||