public class TreeMLWriter extends AbstractGraphWriter
The GraphML spec only supports the data types Int
,
Long
, Float
, Real
(double),
Boolean
, String
, and Date
.
An exception will be thrown if a data type outside these allowed
types is encountered.
Modifier and Type | Class and Description |
---|---|
static interface |
TreeMLWriter.Tokens
String tokens used in the TreeML format.
|
Constructor and Description |
---|
TreeMLWriter() |
Modifier and Type | Method and Description |
---|---|
void |
writeGraph(Graph graph,
java.io.OutputStream os)
Write a graph from the given OutputStream.
|
writeGraph, writeGraph
public void writeGraph(Graph graph, java.io.OutputStream os) throws DataIOException
GraphWriter
graph
- the Graph to writeos
- the OutputStream to write the graph toDataIOException
GraphWriter.writeGraph(prefuse.data.Graph, java.io.OutputStream)
Copyright ? 2013 Regents of the University of California