public class GraphMLWriter extends AbstractGraphWriter
The GraphML spec only supports the data types int,
long, float, double,
boolean, and string. An exception will
be thrown if a data type outside these allowed types is
encountered.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GraphMLWriter.Tokens
String tokens used in the GraphML format.
|
| Constructor and Description |
|---|
GraphMLWriter() |
| 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)