com.eteks.sweethome3d.io
Class AutoRecoveryManager
java.lang.Object
com.eteks.sweethome3d.io.AutoRecoveryManager
public class AutoRecoveryManager
- extends Object
Manager able to automatically save open homes in recovery folder with a timer.
The delay between two automatic save operations is specified by
auto save delay for recovery
property.
- Author:
- Emmanuel Puybaret
Method Summary |
void |
openRecoveredHomes()
Opens recovered homes and adds them to application. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutoRecoveryManager
public AutoRecoveryManager(HomeApplication application)
throws RecorderException
- Creates a manager able to automatically recover
application
homes.
As this constructor adds some listeners on application
instance and its preferences,
it should be invoked only from the same thread where application is modified or at program startup.
- Throws:
RecorderException
openRecoveredHomes
public void openRecoveredHomes()
- Opens recovered homes and adds them to application.