Class ObjectUtils


  • public final class ObjectUtils
    extends java.lang.Object
    Deprecated.
    use com.mchange.v2.ser.SerializableUtils;
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.Object DUMMY_OBJECT
      Deprecated.
       
    • Field Detail

      • DUMMY_OBJECT

        public static final java.lang.Object DUMMY_OBJECT
        Deprecated.
    • Method Detail

      • objectToByteArray

        public static byte[] objectToByteArray​(java.lang.Object obj)
                                        throws java.io.NotSerializableException
        Deprecated.
        Throws:
        java.io.NotSerializableException
      • objectFromByteArray

        public static java.lang.Object objectFromByteArray​(byte[] bytes)
                                                    throws java.io.IOException,
                                                           java.lang.ClassNotFoundException
        Deprecated.
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException