public class GraphMigrator extends Object
| Constructor and Description |
|---|
GraphMigrator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
migrateGraph(Graph fromGraph,
Graph toGraph)
Pipe the data from one graph to another graph.
|
public static void migrateGraph(Graph fromGraph, Graph toGraph) throws XMLStreamException, IOException
fromGraph - the graph to take data fromtoGraph - the graph to take data toXMLStreamException - thrown if the serialization process causes an exceptionIOException - thrown if there is an error in steam between the two graphsCopyright © 2010-2014. All Rights Reserved.