java.lang.Object
org.graffiti.plugin.io.AbstractInputSerializer
de.ipk_gatersleben.ag_nw.graffiti.plugins.ios.exporters.metatool.MetaToolReader
All Implemented Interfaces:
InputSerializer, Serializer

public class MetaToolReader
extends AbstractInputSerializer
  • Constructor Details

    • MetaToolReader

      public MetaToolReader()
  • Method Details

    • read

      public void read​(InputStream in, Graph g) throws IOException
      Description copied from class: AbstractInputSerializer
      Reads in a graph from the given input stream.
      Specified by:
      read in interface InputSerializer
      Specified by:
      read in class AbstractInputSerializer
      Parameters:
      in - The input stream to read the graph from.
      g - The graph to add the newly read graph to.
      Throws:
      IOException - If an IO error occurs.
    • read

      public void read​(Reader reader, Graph newGraph) throws Exception
      Throws:
      Exception
    • getExtensions

      public String[] getExtensions()
      Description copied from interface: Serializer
      The file extensions the serializer can read or write.
      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.
      Returns:
      DOCUMENT ME!