|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object prefuse.data.io.AbstractGraphReader prefuse.data.io.TreeMLReader
public class TreeMLReader
GraphReader instance that reads in tree-structured data in the XML-based TreeML format. TreeML is an XML format originally created for the 2003 InfoVis conference contest. A DTD (Document Type Definition) for TreeML is available online.
Nested Class Summary | |
---|---|
static interface |
TreeMLReader.Tokens
String tokens used in the TreeML format. |
class |
TreeMLReader.TreeMLHandler
A SAX Parser for TreeML data files. |
Constructor Summary | |
---|---|
TreeMLReader()
|
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 |
Constructor Detail |
---|
public TreeMLReader()
Method Detail |
---|
public Graph readGraph(java.io.InputStream is) throws DataIOException
GraphReader
readGraph
in interface GraphReader
readGraph
in class AbstractGraphReader
is
- the InputStream to read the graph from
DataIOException
GraphReader.readGraph(java.io.InputStream)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |