Class TGFGraphSerializer

java.lang.Object
cz.metacentrum.perun.utils.graphs.serializers.TGFGraphSerializer
All Implemented Interfaces:
GraphSerializer

public class TGFGraphSerializer extends Object implements GraphSerializer
Graph serializer for TGF format (*.tgf)
Author:
Vojtech Sassmann <vojtech.sassmann@gmail.com>
  • Constructor Details

    • TGFGraphSerializer

      public TGFGraphSerializer()
  • Method Details

    • generateTextFileContent

      public String generateTextFileContent(Graph graph)
      Description copied from interface: GraphSerializer
      Generates content of a text file describing graph.
      Specified by:
      generateTextFileContent in interface GraphSerializer
      Returns:
      content of a text file describing relations of given attributes.