prefuse.data.io
Class GraphMLReader

java.lang.Object
  extended by prefuse.data.io.AbstractGraphReader
      extended by prefuse.data.io.GraphMLReader
All Implemented Interfaces:
GraphReader

public class GraphMLReader
extends AbstractGraphReader
implements GraphReader

GraphReader instance that reads in graph file formatted using the GraphML file format. GraphML is an XML format supporting graph structure and typed data schemas for both nodes and edges. For more information about the format, please see the GraphML home page.

Author:
jeffrey heer

Nested Class Summary
static class GraphMLReader.GraphMLHandler
          A SAX Parser for GraphML data files.
static interface GraphMLReader.Tokens
          String tokens used in the GraphML format.
 
Constructor Summary
GraphMLReader()
           
 
Method Summary
 Graph readGraph(java.io.InputStream is)
          Read in a graph from the given InputStream.
 
Methods inherited from class prefuse.data.io.AbstractGraphReader
readGraph, readGraph, readGraph
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface prefuse.data.io.GraphReader
readGraph, readGraph, readGraph
 

Constructor Detail

GraphMLReader

public GraphMLReader()
Method Detail

readGraph

public Graph readGraph(java.io.InputStream is)
                throws DataIOException
Description copied from interface: GraphReader
Read in a graph from the given InputStream.

Specified by:
readGraph in interface GraphReader
Specified by:
readGraph in class AbstractGraphReader
Parameters:
is - the InputStream to read the graph from
Returns:
the loaded Graph
Throws:
DataIOException
See Also:
GraphReader.readGraph(java.io.InputStream)


Copyright © 2007 Regents of the University of California