public class PropertiesUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
sync(Properties source,
Properties target)
Copies all the properties from
source to target. |
public static void 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.