net.sf.cantina.datasource
Class BackupUtils

java.lang.Object
  extended bynet.sf.cantina.datasource.BackupUtils

public abstract class BackupUtils
extends java.lang.Object

Author:
Stephane JAIS

Constructor Summary
BackupUtils()
           
 
Method Summary
protected static void dumpDocument(Document original, DataSource destination)
          Dumps a document to a datasource, overriding any previously saved document.
protected static void dumpRealm(Realm original, DataSource destination)
          Dumps a realm to a datasource, overriding any previously saved realm.
protected static void importDataSource(DataSource source, DataSource dest)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackupUtils

public BackupUtils()
Method Detail

importDataSource

protected static void importDataSource(DataSource source,
                                       DataSource dest)
                                throws java.lang.Exception
Throws:
java.lang.Exception

dumpDocument

protected static void dumpDocument(Document original,
                                   DataSource destination)
                            throws java.lang.Exception
Dumps a document to a datasource, overriding any previously saved document.

Parameters:
original -
destination -
Throws:
java.lang.Exception

dumpRealm

protected static void dumpRealm(Realm original,
                                DataSource destination)
                         throws java.lang.Exception
Dumps a realm to a datasource, overriding any previously saved realm.

Parameters:
original -
destination -
Throws:
java.lang.Exception


Copyright © 2004 Cantina. All Rights Reserved.