org.graffiti.plugins.ios.exporters.graphviz
Class DOTSerializer

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

public class DOTSerializer
extends AbstractOutputSerializer

A very very simple writer for a graph in the dot format for Graphviz. The only exported attribute are labels.

Version:
$Revision: 5766 $ $Date: 2009-03-19 17:53:32 +0100 (Do, 19 Mrz 2009) $

Constructor Summary
DOTSerializer()
           
 
Method Summary
 String[] getExtensions()
          The file extensions the serializer can read or write.
 String getName()
          Returns the name (id) of this Parametrizable.
 void write(OutputStream out, Graph g)
          Writes the contents of the given graph to a stream.
 
Methods inherited from class org.graffiti.plugin.io.AbstractOutputSerializer
write
 
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.Parametrizable
getDefaultParameters, getParameters, setParameters
 

Constructor Detail

DOTSerializer

public DOTSerializer()
Method Detail

getExtensions

public String[] getExtensions()
Description copied from interface: org.graffiti.plugin.io.Serializer
The file extensions the serializer can read or write.

Returns:
DOCUMENT ME!

write

public void write(OutputStream out,
                  Graph g)
           throws IOException
Description copied from interface: org.graffiti.plugin.io.OutputSerializer
Writes the contents of the given graph to a stream.

Parameters:
out - The output stream to save the graph to.
g - The graph to save.
Throws:
IOException

getName

public String getName()
Description copied from interface: org.graffiti.plugin.Parametrizable
Returns the name (id) of this Parametrizable.

Returns:
DOCUMENT ME!


Generated at 2012-05-30 11:01:25 PM CEST