public class PropertiesUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static Map<String,org.apache.commons.lang3.tuple.Pair<String,String>> |
sync(Properties source,
Properties target)
Copies all the properties from
source to target. |
public static Map<String,org.apache.commons.lang3.tuple.Pair<String,String>> sync(Properties source, Properties target)
source to target. If a property exists in both
Properties objects, then it is overwritten. If a property exists in target, but not in
source, it is removed from the target Properties object.source - The source Properties object.target - The target Properties object.Copyright © 2015. All rights reserved.