net.sf.doolin.util.copy
Class CopyUtils
java.lang.Object
net.sf.doolin.util.copy.CopyUtils
public class CopyUtils
- extends Object
Copy utilities methods.
- Author:
- Damien Coraboeuf
|
Method Summary |
static void |
copyProperties(Object target,
Object source,
String... propertyNames)
Copies properties of the same type from one object to the other |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copyProperties
public static void copyProperties(Object target,
Object source,
String... propertyNames)
- Copies properties of the same type from one object to the other
- Parameters:
target - Target objectsource - Source objectpropertyNames - Names of the properties to copy
Copyright © 2011. All Rights Reserved.