org.grinvin.io.compat

Class GraphLoader_1_0


public class GraphLoader_1_0
extends java.lang.Object

Loads an old (1.0) graph.xml-section from an input stream.

Method Summary

static void
load(Graph graph, Annotation annotation, Element element)
static void
load(Graph graph, Annotation annotation, InputStream input)
Load the graph from the input stream.

Method Details

load

public static void load(Graph graph,
                        Annotation annotation,
                        Element element)
            throws IOException

load

public static void load(Graph graph,
                        Annotation annotation,
                        InputStream input)
            throws IOException
Load the graph from the input stream. After the call the input stream should no longer be used.