java.lang.Object
org.mule.runtime.dsl.internal.util.CollectionUtils
Miscellaneous collection utility methods.
- Since:
- 1.4.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic <K,V> void mergePropertiesIntoMap(Properties props, Map<K, V> map) Merge the given Properties instance into the given Map, copying all properties (key-value pairs) over.
-
Method Details
-
mergePropertiesIntoMap
Merge the given Properties instance into the given Map, copying all properties (key-value pairs) over.Uses
Properties.propertyNames()to even catch default properties linked into the original Properties instance.- Parameters:
props- the Properties instance to merge (may benull)map- the target Map to merge the properties into
-