info.magnolia.importexport
Class BootstrapUtil

java.lang.Object
  extended by info.magnolia.importexport.BootstrapUtil

public class BootstrapUtil
extends java.lang.Object

Utilities to bootstrap set of files and/or to export content into a specified directory.

Version:
$Revision: 41137 $ ($Author: gjoseph $)
Author:
philipp

Constructor Summary
BootstrapUtil()
           
 
Method Summary
static void bootstrap(java.lang.String[] resourceNames, int importUUIDBehavior)
           
static void export(Content content, java.io.File directory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BootstrapUtil

public BootstrapUtil()
Method Detail

bootstrap

public static void bootstrap(java.lang.String[] resourceNames,
                             int importUUIDBehavior)
                      throws java.io.IOException,
                             javax.jcr.RepositoryException
Throws:
java.io.IOException
javax.jcr.RepositoryException

export

public static void export(Content content,
                          java.io.File directory)
                   throws java.io.IOException,
                          javax.jcr.RepositoryException
Throws:
java.io.IOException
javax.jcr.RepositoryException


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.