org.grinvin.io.graphs
Class GraphSaver
java.lang.Objectorg.grinvin.io.graphs.GraphSaver
public class GraphSaver
extends java.lang.Object
Saves a
GraphView as a
graph.xml-section onto an output
stream.
static void | save(GraphView graph, OutputStream out)- Save the graph onto the output stream.
|
static Element | toElement(GraphView graph)- Create a JDOM-element that represents the abstract graph
for this initializer.
|
save
public static void save(GraphView graph,
OutputStream out)
throws IOException Save the graph onto the output stream.
out - Output stream to which the result shall be written.
toElement
public static Element toElement(GraphView graph)
Create a JDOM-element that represents the abstract graph
for this initializer.