jestr.generic.object
Class ObjectUtils

java.lang.Object
  extended byjestr.generic.object.ObjectUtils

public class ObjectUtils
extends java.lang.Object

Author:
David Gilliland

Constructor Summary
ObjectUtils()
           
 
Method Summary
static java.lang.Object cloneObjectEfficiently(java.lang.Object o, java.lang.String methodName)
          First attempts to clone the object using a public clone method; if that fails it falls back to SerializationUtils.clone() (*MUCH* slower); if that fails, throws a NestableRuntimeException holding the resulting exception.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectUtils

public ObjectUtils()
Method Detail

cloneObjectEfficiently

public static java.lang.Object cloneObjectEfficiently(java.lang.Object o,
                                                      java.lang.String methodName)
First attempts to clone the object using a public clone method; if that fails it falls back to SerializationUtils.clone() (*MUCH* slower); if that fails, throws a NestableRuntimeException holding the resulting exception.



Copyright (c) 2001-2003 - Apache Software Foundation