public class JsonldBiopaxConverter extends Object implements JsonldConverter
Constructor and Description |
---|
JsonldBiopaxConverter() |
Modifier and Type | Method and Description |
---|---|
void |
convertFromJsonld(InputStream in,
OutputStream out)
Convert inputstream in jsonld format to outputsream in owl/rdf format.
|
void |
convertToJsonld(InputStream in,
OutputStream os)
Convert inputstream in owl/rdf format to outputsream in jsonld format.
|
File |
preProcessFile(InputStream in) |
public JsonldBiopaxConverter()
public void convertToJsonld(InputStream in, OutputStream os) throws IOException
JsonldConverter
convertToJsonld
in interface JsonldConverter
in
- input stream (BioPAX RDF/XML data)os
- output stream (to write the JSON-LD result)IOException
- when an I/O error occurspublic void convertFromJsonld(InputStream in, OutputStream out)
JsonldConverter
convertFromJsonld
in interface JsonldConverter
in
- input stream (JSON-LD data)out
- output stream (to write the BioPAX RDF/XML result)public File preProcessFile(InputStream in) throws IOException
IOException
Copyright © 2015 BioPAX. All rights reserved.