public class PropertiesUtil extends Object
Constructor and Description |
---|
PropertiesUtil() |
Modifier and Type | Method and Description |
---|---|
static Properties |
initProperties(Properties localMap,
boolean localOverride,
Dictionary source,
Properties target)
Merges the given dictionary into the target properties object.
|
static Properties |
initProperties(Properties localMap,
boolean localOverride,
Map<?,?> source,
Properties target)
Merges the given map into the target properties object.
|
public static Properties initProperties(Properties localMap, boolean localOverride, Map<?,?> source, Properties target)
public static Properties initProperties(Properties localMap, boolean localOverride, Dictionary source, Properties target)
initProperties(Properties, boolean, Map, Properties)
excepts it reads the dictionary directly to avoid
any mapping overhead.localMap
- localOverride
- source
- target
- Copyright © 2006–2017. All rights reserved.