org.graffiti.plugin.io
Class AbstractOutputSerializer

java.lang.Object
  extended by org.graffiti.plugin.AbstractParametrizable
      extended by org.graffiti.plugin.io.AbstractOutputSerializer
All Implemented Interfaces:
OutputSerializer, Serializer, Parametrizable

public abstract class AbstractOutputSerializer
extends AbstractParametrizable
implements OutputSerializer

Provides additional methods to write a graph object.

Version:
$Revision: 5767 $

Constructor Summary
AbstractOutputSerializer()
           
 
Method Summary
 void write(Graph g, String filename)
          Writes the contents of the given graph to a file.
 
Methods inherited from class org.graffiti.plugin.AbstractParametrizable
copyParameters, getDefaultParameters, getParameters, getUserParameters, saveUserParameters, saveUserParameters, setParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.graffiti.plugin.io.OutputSerializer
write
 
Methods inherited from interface org.graffiti.plugin.io.Serializer
getExtensions
 
Methods inherited from interface org.graffiti.plugin.Parametrizable
getDefaultParameters, getName, getParameters, setParameters
 

Constructor Detail

AbstractOutputSerializer

public AbstractOutputSerializer()
Method Detail

write

public void write(Graph g,
                  String filename)
           throws IOException
Writes the contents of the given graph to a file.

Parameters:
g - The graph to save.
filename - The name of the file to save the graph to.
Throws:
IOException - If an IO error occurs.


Generated at 2012-05-30 11:00:14 PM CEST