public abstract class AbstractGraphWriter extends java.lang.Object implements GraphWriter
GraphWriter.writeGraph(Graph, OutputStream)
method.Constructor and Description |
---|
AbstractGraphWriter() |
Modifier and Type | Method and Description |
---|---|
void |
writeGraph(Graph graph,
java.io.File f)
Write a graph to the given File.
|
void |
writeGraph(Graph graph,
java.lang.String filename)
Write a graph to the file with the given filename.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
writeGraph
public void writeGraph(Graph graph, java.lang.String filename) throws DataIOException
GraphWriter
writeGraph
in interface GraphWriter
graph
- the Graph to writefilename
- the file to write the graph toDataIOException
GraphWriter.writeGraph(prefuse.data.Graph, java.lang.String)
public void writeGraph(Graph graph, java.io.File f) throws DataIOException
GraphWriter
writeGraph
in interface GraphWriter
graph
- the Graph to writef
- the file to write the graph toDataIOException
GraphWriter.writeGraph(prefuse.data.Graph, java.io.File)
Copyright ? 2013 Regents of the University of California