com.xpn.xwiki.tool.backup
Class ExporterMain
java.lang.Object
com.xpn.xwiki.tool.backup.ExporterMain
public final class ExporterMain
- extends Object
Class to call from the command line to export XWiki documents found in a database to the file system.
- Version:
- $Id$
|
Method Summary |
static void |
main(String[] args)
Command line hook so that the exporter can be called directly on the command line. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
main
public static void main(String[] args)
throws Exception
- Command line hook so that the exporter can be called directly on the command line.
- Parameters:
args - the first argument is the directory where to export the documents, the second argument is some
database name (TODO: find out what this name is really) and the third argument is the Hibernate config
fill containing the database definition (JDBC driver, username and password, etc)
- Throws:
Exception - in case of an error while exporting
Copyright © 2004-2012 XWiki. All Rights Reserved.