|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.util.DumperUtil
public class DumperUtil
Used to dump 1:1 repository content. The level defines how deep the recursion should go.
Constructor Summary | |
---|---|
DumperUtil()
|
Method Summary | |
---|---|
static java.lang.String |
dump(Content content)
|
static java.lang.String |
dump(Content content,
int level)
Used to dump into a String. |
static void |
dump(Content content,
int level,
java.io.PrintStream out)
Dump to a stream. |
static void |
dump(Content content,
java.io.PrintStream out)
Dump this node to a stream. |
static void |
dump(javax.jcr.Node n,
int level,
java.io.PrintWriter out)
Dump a JCR Node to a Writer. |
static void |
dump(javax.jcr.Node n,
java.io.PrintWriter out)
Dump only this JCR-Node to a writer. |
static void |
dumpChanges(HierarchyManager hm)
|
static void |
dumpChanges(javax.jcr.Session session,
java.io.PrintWriter out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DumperUtil()
Method Detail |
---|
public static java.lang.String dump(Content content)
public static java.lang.String dump(Content content, int level)
content
- level
-
public static void dump(Content content, int level, java.io.PrintStream out)
content
- level
- out
- public static void dump(Content content, java.io.PrintStream out)
content
- out
- public static void dump(javax.jcr.Node n, int level, java.io.PrintWriter out) throws javax.jcr.RepositoryException
n
- level
- out
-
javax.jcr.RepositoryException
public static void dump(javax.jcr.Node n, java.io.PrintWriter out) throws javax.jcr.RepositoryException
n
- out
-
javax.jcr.RepositoryException
public static void dumpChanges(HierarchyManager hm)
public static void dumpChanges(javax.jcr.Session session, java.io.PrintWriter out) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |