Interface SerializeMethod

    • Method Detail

      • writeObject

        void writeObject​(Object o,
                         ObjectOutputStream out)
                  throws IOException
        Writes a serializable object description to the given object output stream.
        Parameters:
        o - the to be serialized object.
        out - the outputstream that should receive the object.
        Throws:
        IOException - if an I/O error occured.
      • getObjectClass

        Class getObjectClass()
        The class of the object, which this object can serialize.
        Returns:
        the class of the object type, which this method handles.