public static class BTraceUtils.Export
extends java.lang.Object
Constructor and Description |
---|
BTraceUtils.Export() |
Modifier and Type | Method and Description |
---|---|
static void |
serialize(java.io.Serializable obj,
java.lang.String fileName)
Serialize a given object into the given file.
|
static java.lang.String |
toXML(java.lang.Object obj)
Creates an XML document to persist the tree of the all
transitively reachable objects from given "root" object.
|
static void |
writeDOT(java.lang.Object obj,
java.lang.String fileName)
Writes a .dot document to persist the tree of the all the
transitively reachable objects from the given "root" object.
.dot documents can be viewed by Graphviz application (www.graphviz.org)
Under the current dir of traced app, .
|
static void |
writeXML(java.lang.Object obj,
java.lang.String fileName)
Writes an XML document to persist the tree of the all the
transitively reachable objects from the given "root" object.
|
public static void serialize(java.io.Serializable obj, java.lang.String fileName)
obj
- object that has to be serialized.fileName
- name of the file to which the object is serialized.public static java.lang.String toXML(java.lang.Object obj)
public static void writeXML(java.lang.Object obj, java.lang.String fileName)
public static void writeDOT(java.lang.Object obj, java.lang.String fileName)