graphdb/src/main/java/com/orientechnologies/orient/graph/graphml/OGraphMLReader.java
public void inputGraph(final Graph inputGraph, final InputStream graphMLInputStream) throws IOException {
    inputGraph(inputGraph, graphMLInputStream, batchSize, vertexIdKey, edgeIdKey, edgeLabelKey);
  }
public void inputGraph(final Graph inputGraph, final InputStream graphMLInputStream) throws IOException {
    inputGraph(inputGraph, graphMLInputStream, batchSize, vertexIdKey, edgeIdKey, edgeLabelKey);
  }
public void inputGraph ( final Graph inputGraph , final InputStream graphMLInputStream ) throws IOException { inputGraph ( inputGraph , graphMLInputStream , batchSize , vertexIdKey , edgeIdKey , edgeLabelKey ) ; }
Input the GraphML stream data into the graph. In practice, usually the provided graph is empty.

@param inputGraph
the graph to populate with the GraphML data
@param graphMLInputStream
an InputStream of GraphML data
@throws IOException
thrown when the GraphML data is not correctly formatted
Input the GraphML stream data into the graph . In practice usually the provided graph is empty .