org.graffiti.plugin.io
Interface OutputSerializer

All Superinterfaces:
Parametrizable, Serializer
All Known Implementing Classes:
AbstractIOSerializer, AbstractOutputSerializer, XMLSerializer

public interface OutputSerializer
extends Serializer, Parametrizable

Interfaces a serializer, which is able to write a given graph in a special format to a given output stream.

Version:
$Revision: 5767 $

Method Summary
 void write(OutputStream stream, Graph g)
          Writes the contents of the given graph to a stream.
 
Methods inherited from interface org.graffiti.plugin.io.Serializer
getExtensions
 
Methods inherited from interface org.graffiti.plugin.Parametrizable
getDefaultParameters, getName, getParameters, setParameters
 

Method Detail

write

void write(OutputStream stream,
           Graph g)
           throws IOException
Writes the contents of the given graph to a stream.

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


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