info.magnolia.cms.util
Class DumperUtil

java.lang.Object
  extended by info.magnolia.cms.util.DumperUtil

public class DumperUtil
extends Object

Used to dump 1:1 repository content. The level defines how deep the recursion should go.


Constructor Summary
DumperUtil()
           
 
Method Summary
static String dump(Content content)
          Deprecated. since 5.2.1. Use dump(Node) instead.
static String dump(Content content, int level)
          Deprecated. since 5.2.1. Use dump(Node, int) instead.
static void dump(Content content, int level, PrintStream out)
          Deprecated. since 5.2.1. Use dump(Node, int, PrintStream) instead.
static void dump(Content content, PrintStream out)
          Deprecated. since 5.2.1. Use dump(Node, PrintWriter) instead.
static String dump(javax.jcr.Node node)
           
static String dump(javax.jcr.Node node, int level)
           
static void dump(javax.jcr.Node node, int level, PrintStream out)
           
static void dump(javax.jcr.Node n, int level, PrintWriter out)
          Dump a JCR Node to a Writer.
static void dump(javax.jcr.Node n, PrintWriter out)
          Dump only this JCR-Node to a writer.
static void dumpChanges(HierarchyManager hm)
           
static void dumpChanges(javax.jcr.Session session, PrintWriter out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DumperUtil

public DumperUtil()
Method Detail

dump

public static String dump(Content content)
Deprecated. since 5.2.1. Use dump(Node) instead.


dump

public static String dump(javax.jcr.Node node)

dump

public static String dump(javax.jcr.Node node,
                          int level)

dump

public static String dump(Content content,
                          int level)
Deprecated. since 5.2.1. Use dump(Node, int) instead.

Used to dump into a String.

Returns:

dump

public static void dump(Content content,
                        int level,
                        PrintStream out)
Deprecated. since 5.2.1. Use dump(Node, int, PrintStream) instead.

Dump to a stream.


dump

public static void dump(javax.jcr.Node node,
                        int level,
                        PrintStream out)

dump

public static void dump(Content content,
                        PrintStream out)
Deprecated. since 5.2.1. Use dump(Node, PrintWriter) instead.

Dump this node to a stream.


dump

public static void dump(javax.jcr.Node n,
                        int level,
                        PrintWriter out)
                 throws javax.jcr.RepositoryException
Dump a JCR Node to a Writer.

Throws:
javax.jcr.RepositoryException

dump

public static void dump(javax.jcr.Node n,
                        PrintWriter out)
                 throws javax.jcr.RepositoryException
Dump only this JCR-Node to a writer.

Throws:
javax.jcr.RepositoryException

dumpChanges

public static void dumpChanges(HierarchyManager hm)

dumpChanges

public static void dumpChanges(javax.jcr.Session session,
                               PrintWriter out)
                        throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException


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