|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.xpn.xwiki.tool.backup.ImporterMain
public final class ImporterMain
Class to call from the command line to import XWiki documents into database.
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
Command line hook so that the importer 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 |
| Method Detail |
|---|
public static void main(java.lang.String[] args)
throws java.lang.Exception
args - the first argument is the directory where the package.xml file is located and where the documents to
import are located, 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)
java.lang.Exception - in case of an error while importing
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||