Documentation of 'de.erichseifert.gral.util.SerializationUtils' Java class
SerializationUtils
de.erichseifert.gral.util

Class SerializationUtils



  • public abstract class SerializationUtils
    extends java.lang.Object
    An abstract class containing utility functions for serialization.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.Object unwrap(java.io.Serializable o)
      Makes sure a regular object is returned, wrappers for serialization will be removed.
      static java.io.Serializable wrap(java.lang.Object o)
      Makes sure an object is serializable, otherwise a serializable wrapper will be returned.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • wrap

        public static java.io.Serializable wrap(java.lang.Object o)
        Makes sure an object is serializable, otherwise a serializable wrapper will be returned.
        Parameters:
        o - Object to be serialized.
        Returns:
        A serializable object, or a serializable wrapper.
      • unwrap

        public static java.lang.Object unwrap(java.io.Serializable o)
        Makes sure a regular object is returned, wrappers for serialization will be removed.
        Parameters:
        o - Deserialized object.
        Returns:
        A regular (unwrapped) object.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.