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, waitwriteGraphpublic void writeGraph(Graph graph, java.lang.String filename) throws DataIOException
GraphWriterwriteGraph in interface GraphWritergraph - the Graph to writefilename - the file to write the graph toDataIOExceptionGraphWriter.writeGraph(prefuse.data.Graph, java.lang.String)public void writeGraph(Graph graph, java.io.File f) throws DataIOException
GraphWriterwriteGraph in interface GraphWritergraph - the Graph to writef - the file to write the graph toDataIOExceptionGraphWriter.writeGraph(prefuse.data.Graph, java.io.File)