Interface Persister

    • Method Detail

      • store

        boolean store​(java.io.OutputStream os,
                      PerspectiveModel perspectiveInfo)
               throws java.io.IOException,
                      PersistenceException
        Serializes PerspectiveInfo to the supplied data stream.
        Parameters:
        os - OutputStream to persist perspectiveInfo to.
        perspectiveInfo - data object to be persisted
        Returns:
        true when there was no problem with persisting the perspectiveInfo object.
        Throws:
        java.io.IOException - in case of input/output problem.
        PersistenceException
      • load

        PerspectiveModel load​(java.io.InputStream is)
                       throws java.io.IOException,
                              PersistenceException
        Deserializes PerspectiveInfo from the supplied data stream.
        Parameters:
        is - InputStream to load perspectiveInfo from.
        Returns:
        true when there was no problem with persisting the perspectiveInfo object.
        Throws:
        java.io.IOException - in case of input/output problem.
        PersistenceException