java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.plugins.ios.exporters.metatool.MetatoolWriter
All Implemented Interfaces:
OutputSerializer, Serializer

public class MetatoolWriter
extends Object
implements OutputSerializer
  • Constructor Details

    • MetatoolWriter

      public MetatoolWriter()
  • Method Details

    • getNodeLabel

      public static String getNodeLabel​(Node nd)
    • getEdgeLabel

      public static String getEdgeLabel​(Edge ed)
    • validFor

      public boolean validFor​(Graph g)
      Specified by:
      validFor in interface OutputSerializer
      Parameters:
      g - The graph to be serialized
      Returns:
    • write

      public void write​(OutputStream stream, Graph g) throws IOException
      Description copied from interface: OutputSerializer
      Writes the contents of the given graph to a stream.
      Specified by:
      write in interface OutputSerializer
      Parameters:
      stream - The output stream to save the graph to.
      g - The graph to save.
      Throws:
      IOException
    • getExtensions

      public String[] getExtensions()
      Description copied from interface: Serializer
      The file extensions the serializer can read or write.
      Specified by:
      getExtensions in interface Serializer
      Returns:
      DOCUMENT ME!
    • getFileTypeDescriptions

      public String[] getFileTypeDescriptions()
      Description copied from interface: Serializer
      The file type descriptions of the files the serializer can read or write.
      Specified by:
      getFileTypeDescriptions in interface Serializer
      Returns:
      DOCUMENT ME!