|
||||||||||
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 String |
dump(Content content)
|
static String |
dump(Content content,
int level)
Used to dump into a String. |
static void |
dump(Content content,
int level,
PrintStream out)
Dump to a stream. |
static void |
dump(Content content,
PrintStream out)
Dump this node to a stream. |
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 |
---|
public DumperUtil()
Method Detail |
---|
public static String dump(Content content)
public static String dump(Content content, int level)
content
- level
-
public static void dump(Content content, int level, PrintStream out)
content
- level
- out
- public static void dump(Content content, PrintStream out)
content
- out
- public static void dump(javax.jcr.Node n, int level, PrintWriter out) throws javax.jcr.RepositoryException
n
- level
- out
-
javax.jcr.RepositoryException
public static void dump(javax.jcr.Node n, 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, 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 |