org.universAAL.ui.dm.dialogManagement
Class DialogPoolFileStorage
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DialogPoolFileStorage
public DialogPoolFileStorage(ModuleContext context,
File file)
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
UIRequest
s 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.