Class RDFReader

java.lang.Object
org.incenp.obofoundry.sssom.SSSOMReader
org.incenp.obofoundry.sssom.rdf.RDFReader

public class RDFReader extends SSSOMReader
A parser to read a SSSOM mapping set from the RDF Turtle serialisation format.
  • Constructor Details

    • RDFReader

      public RDFReader(File file) throws FileNotFoundException
      Creates a new instance that will read data from the specified file.
      Parameters:
      file - The file to read the mapping set from.
      Throws:
      FileNotFoundException - If the file cannot be found.
    • RDFReader

      public RDFReader(InputStream stream)
      Creates a new instance that will read data from the specified stream.
      Parameters:
      stream - The stream to read the mapping set from.
    • RDFReader

      public RDFReader(Reader reader)
      Creates a new instance that will read data from the specified reader.
      Parameters:
      reader - The reader to read the mapping set from.
    • RDFReader

      public RDFReader(String filename) throws FileNotFoundException
      Creates a new instance that will read data from a file with the specified name.
      Parameters:
      filename - The name of the file to read the mapping set from.
      Throws:
      FileNotFoundException - If the file cannot be found.
  • Method Details