Package org.graffiti.plugin.io
Interface OutputSerializer
- All Superinterfaces:
Serializer
- All Known Implementing Classes:
AbstractIOSerializer
,AbstractOutputSerializer
,BioPAX_OWL_Writer
,DOTSerializer
,GMLgzWriter
,GMLWriter
,GMLXMLWriter
,GraphMLgzWriter
,GraphMLWriter
,KEGG2_XML_Writer
,MetatoolWriter
,PajekWriter
,PNTSerializer
,PovrayWriter
,SBML_XML_Writer
,SIFWriter
,XWGSerializer
public interface OutputSerializer extends Serializer
Interfaces a serializer, which is able to write a given graph in a special
format to a given output stream.
- Version:
- $Revision: 1.6 $
-
Method Summary
Modifier and Type Method Description boolean
validFor(Graph g)
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, getFileTypeDescriptions
-
Method Details
-
write
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
-
validFor
- Parameters:
g
- The graph to be serialized- Returns:
-