Class PropertyMap
- java.lang.Object
-
- org.soulwing.prospecto.runtime.util.PropertyMap
-
public class PropertyMap extends Object
A wrapper for aMap
that provides aProperties
-like API.- Author:
- Carl Harris
-
-
Constructor Summary
Constructors Constructor Description PropertyMap(Map<String,Object> properties)
Constructs a new instance that wraps the given map.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
get(String key, Object defaultValue)
Gets the value of associated with the given key.String
getString(String key, String defaultValue)
Gets the string value associated with the given key.
-