Class OgJsonReader
- java.lang.Object
-
- org.geneontology.obographs.core.io.OgJsonReader
-
public class OgJsonReader extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GraphDocumentread(Reader reader)static GraphDocumentreadFile(File file)static GraphDocumentreadFile(String fileName)static GraphDocumentreadInputStream(InputStream stream)
-
-
-
Method Detail
-
readFile
public static GraphDocument readFile(String fileName) throws IOException
- Throws:
IOException
-
readFile
public static GraphDocument readFile(File file) throws IOException
- Throws:
IOException
-
readInputStream
public static GraphDocument readInputStream(InputStream stream) throws IOException
- Throws:
IOException
-
read
public static GraphDocument read(Reader reader) throws IOException
- Throws:
IOException
-
-