Class PropertyMapFactory
- java.lang.Object
-
- net.infonode.properties.propertymap.PropertyMapFactory
-
public class PropertyMapFactory extends java.lang.Object
Contains factory methods forPropertyMap
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PropertyMap
create(PropertyMap inheritFrom)
Creates a property map with the same property group as inheritFrom.static PropertyMap
create(PropertyMapGroup propertyGroup)
Creates a property map that can contain values for properties in the given property group.
-
-
-
Method Detail
-
create
public static PropertyMap create(PropertyMapGroup propertyGroup)
Creates a property map that can contain values for properties in the given property group.- Parameters:
propertyGroup
- the property group- Returns:
- a new property map
-
create
public static PropertyMap create(PropertyMap inheritFrom)
Creates a property map with the same property group as inheritFrom. inheritFrom is added as a super map to the created property map.- Parameters:
inheritFrom
- the super map- Returns:
- a new property map
-
-