Interface ExternalizableLite

    • Method Detail

      • readExternal

        void readExternal​(DataInput in)
                   throws IOException
        Restore the contents of this object by loading the object's state from the passed DataInput object.
        Parameters:
        in - the DataInput stream to read data from in order to restore the state of this object
        Throws:
        IOException - if an I/O exception occurs
        NotActiveException - if the object is not in its initial state, and therefore cannot be deserialized into
      • writeExternal

        void writeExternal​(DataOutput out)
                    throws IOException
        Save the contents of this object by storing the object's state into the passed DataOutput object.
        Parameters:
        out - the DataOutput stream to write the state of this object to
        Throws:
        IOException - if an I/O exception occurs