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 Details

    • 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
    • validFor

      boolean validFor​(Graph g)
      Parameters:
      g - The graph to be serialized
      Returns: