public class PropertyHelper
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static PropertyHelper |
createHelper()
Creates the property helper with the default suffix
|
static PropertyHelper |
createHelper(java.lang.String suffix)
Creates the property helper with the given suffix
|
java.lang.String |
getSuffix()
Returns the suffix.
|
java.lang.Object |
getValue(java.util.Map<? extends java.lang.Object,? extends java.lang.Object> properties,
java.lang.String key)
Returns the value for the given key or
null, if nothing was found |
java.lang.Object |
getValue(java.util.Map<? extends java.lang.Object,? extends java.lang.Object> properties,
java.lang.String key,
java.lang.Object defaultValue) |
public static PropertyHelper createHelper()
public static PropertyHelper createHelper(java.lang.String suffix)
suffix - the suffix to be usedpublic java.lang.String getSuffix()
public java.lang.Object getValue(java.util.Map<? extends java.lang.Object,? extends java.lang.Object> properties,
java.lang.String key,
java.lang.Object defaultValue)
public java.lang.Object getValue(java.util.Map<? extends java.lang.Object,? extends java.lang.Object> properties,
java.lang.String key)
null, if nothing was foundproperties - the properties mapkey - the key to get the value fromnullData In Motion Consulting GmbH