org.universAAL.ui.dm.dialogManagement
Class DialogPoolFileStorage

Package class diagram package DialogPoolFileStorage
java.lang.Object
  extended by org.universAAL.ui.dm.dialogManagement.DialogPoolFileStorage
All Implemented Interfaces:
IUIRequestStore

public class DialogPoolFileStorage
extends Object
implements IUIRequestStore

Serialize/Deserialze a whole IUIRequestPool into/form a file.

Author:
amedrano

Constructor Summary
DialogPoolFileStorage(ModuleContext context, File file)
           
 
Method Summary
 void read(IUIRequestPool target)
          Add all UIRequests to a IUIRequestPool.
 void save(IUIRequestPool pool)
          Save the pool.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DialogPoolFileStorage

public DialogPoolFileStorage(ModuleContext context,
                             File file)
Method Detail

save

public void save(IUIRequestPool pool)
Save the pool.

Specified by:
save in interface IUIRequestStore
Parameters:
pool - the pool to save

read

public void read(IUIRequestPool target)
Add all UIRequests to a IUIRequestPool.

Specified by:
read in interface IUIRequestStore
Parameters:
target - the IUIRequestPool to host the saved UIRequest.


Copyright © 2014 universAAL Consortium. All Rights Reserved.