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, writeGraphpublic void writeGraph(Graph graph, java.io.OutputStream os) throws DataIOException
GraphWritergraph - the Graph to writeos - the OutputStream to write the graph toDataIOExceptionGraphWriter.writeGraph(prefuse.data.Graph, java.io.OutputStream)