Interface PortableObject

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void readExternal​(PofReader in)
      Restore the contents of a user type instance by reading its state using the specified PofReader object.
      void writeExternal​(PofWriter out)
      Save the contents of a POF user type instance by writing its state using the specified PofWriter object.
    • Method Detail

      • readExternal

        void readExternal​(PofReader in)
                   throws IOException
        Restore the contents of a user type instance by reading its state using the specified PofReader object.
        Parameters:
        in - the PofReader from which to read the object's state
        Throws:
        IOException - if an I/O error occurs
      • writeExternal

        void writeExternal​(PofWriter out)
                    throws IOException
        Save the contents of a POF user type instance by writing its state using the specified PofWriter object.
        Parameters:
        out - the PofWriter to which to write the object's state
        Throws:
        IOException - if an I/O error occurs