java.lang.Object
org.graffiti.plugin.io.AbstractInputSerializer
de.ipk_gatersleben.ag_nw.graffiti.plugins.ios.importers.biopax.BioPAX_OWL_Reader
All Implemented Interfaces:
InputSerializer, Serializer

public class BioPAX_OWL_Reader
extends AbstractInputSerializer
Imports Level 2 and 3 OWL Files to Vanted Graph. Uses two packages, one for each level.
Author:
ricardo
  • Constructor Details

    • BioPAX_OWL_Reader

      public BioPAX_OWL_Reader()
  • Method Details

    • 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!
    • read

      public void read​(InputStream in, Graph g) throws IOException
      main read method
      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