|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.xpn.xwiki.tool.backup.AbstractPackager
com.xpn.xwiki.tool.backup.Exporter
public class Exporter
Export a set of XWiki documents from an existing database into the file system.
| Constructor Summary | |
|---|---|
Exporter()
|
|
| Method Summary | |
|---|---|
void |
exportDocuments(java.io.File exportDirectory,
java.lang.String databaseName,
java.io.File hibernateConfig)
Export documents from an existing loaded XWiki database. |
| Methods inherited from class com.xpn.xwiki.tool.backup.AbstractPackager |
|---|
createXWikiContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Exporter()
| Method Detail |
|---|
public void exportDocuments(java.io.File exportDirectory,
java.lang.String databaseName,
java.io.File hibernateConfig)
throws java.lang.Exception
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)
java.lang.Exception - if the export failed for any reason
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||