Package 

Class SessionDataFileSerializer

  • All Implemented Interfaces:
    com.validic.mobile.SessionDataSerializer

    
    public class SessionDataFileSerializer
     implements SessionDataSerializer
                        

    Serialize and deserialize the Session data to an internal file. To use a different file extend this class and modify the file property. This class does not handle migrating data between instances of SessionDataSerializer.

    • Method Summary

      Modifier and Type Method Description
      SessionData read() read and load data that was previously writted by write
      void write(SessionData data) Write data to a a store
      void clear() Clear any data written to by write
      • Methods inherited from class java.lang.Object

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

      • read

         SessionData read()

        read and load data that was previously writted by write

      • write

         void write(SessionData data)

        Write data to a a store

        Parameters:
        data - data to write
      • clear

         void clear()

        Clear any data written to by write