org.mmbase.util.xml.applicationdata
Class FullBackupDataWriter
java.lang.Object
org.mmbase.util.xml.applicationdata.FullBackupDataWriter
- public class FullBackupDataWriter
- extends Object
This is used to export a full backup, by writing all nodes to XML.
- Since:
- MMBase-1.8
- Version:
- $Id: FullBackupDataWriter.java,v 1.3 2005/10/07 18:42:49 michiel Exp $
- Author:
- Pierre van Rooden
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FullBackupDataWriter
public FullBackupDataWriter()
writeContext
public static void writeContext(ApplicationReader reader,
String targetPath,
MMBase mmbase,
Logger logger)
throws IOException,
SearchQueryException
- Writes all nodes to XML.
- Parameters:
reader - A ApplicationReader initialised to read the application's description (xml) filetargetPath - The path where to save the applicationmmbase - Reference to the MMbase processormodule. Used to retrieve the nodes to write.logger - Storage for messages which can be displayed to the user.
- Throws:
IOException - if a file could not be written
SearchQueryException - if data could not be obtained from the database
MMBase build 1.8.1.20060716