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, 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