com.xpn.xwiki.tool.backup
Class Exporter
java.lang.Object
com.xpn.xwiki.tool.backup.AbstractPackager
com.xpn.xwiki.tool.backup.Exporter
public class Exporter
- extends AbstractPackager
Export a set of XWiki documents from an existing database into the file system.
- Version:
- $Id$
|
Method Summary |
void |
exportDocuments(File exportDirectory,
String databaseName,
File hibernateConfig)
Export documents from an existing loaded XWiki database. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Exporter
public Exporter()
exportDocuments
public void exportDocuments(File exportDirectory,
String databaseName,
File hibernateConfig)
throws Exception
- Export documents from an existing loaded XWiki database. The database is defined by its passed name and by an
Hibernate configuration file.
- Parameters:
exportDirectory - the directory where to export the documentsdatabaseName - some database name (TODO: find out what this name is really)hibernateConfig - the Hibernate config fill containing the database definition (JDBC driver, username and
password, etc)
- Throws:
Exception - if the export failed for any reason
Copyright © 2004-2012 XWiki. All Rights Reserved.