org.openxri.store
Interface StoreBackupable

All Known Implementing Classes:
NullStore

public interface StoreBackupable

Provides methods for backuping and restoring all store contents to/from streams.

Author:
=peacekeeper

Method Summary
 void backupStore(java.io.OutputStream stream)
          Backups all store contents into a stream.
 void restoreStore(java.io.InputStream stream)
          Restores all store contents from a stream.
 

Method Detail

backupStore

void backupStore(java.io.OutputStream stream)
                 throws StoreException
Backups all store contents into a stream.

Parameters:
stream - Stream to write all data into.
Throws:
StoreException

restoreStore

void restoreStore(java.io.InputStream stream)
                  throws StoreException
Restores all store contents from a stream.

Parameters:
stream - Stream to read all data from.
Throws:
StoreException


Copyright © 2005-2012. All Rights Reserved.