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 invalid input: '<'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.