org.springbyexample.jcr
Class JcrContentExporter

java.lang.Object
  extended by org.springbyexample.jcr.JcrContentExporter

public class JcrContentExporter
extends Object

Processes JCR content repository and writes out all files into a root directory in the same hierarchical structure they were found in.

Author:
David Winterfeldt

Field Summary
protected  JcrContentRecurser contentRecurser
           
protected  String rootFolder
           
 
Constructor Summary
JcrContentExporter()
           
 
Method Summary
 List<String> process()
          Process content nodes.
 void setContentRecurser(JcrContentRecurser contentRecurser)
          Sets JCR content recurser.
 void setRootFolder(String rootFolder)
          Sets root folder where repository content will be copied.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contentRecurser

protected JcrContentRecurser contentRecurser

rootFolder

protected String rootFolder
Constructor Detail

JcrContentExporter

public JcrContentExporter()
Method Detail

setContentRecurser

public void setContentRecurser(JcrContentRecurser contentRecurser)
Sets JCR content recurser.


setRootFolder

public void setRootFolder(String rootFolder)
Sets root folder where repository content will be copied.


process

public List<String> process()
Process content nodes.

Returns:
List List of content node paths processed.


Copyright © 2008-2012 Spring by Example. All Rights Reserved.