@Test void loadOboStream() throws Exception { Path ontologyPath = Paths.get("src/test/resources/ecto.obo"); Ontology ontology = OntologyLoader.loadOntology(Files.newInputStream(ontologyPath)); assertNotNull(ontology); }
public static Ontology loadOntology(File file) { return loadOntology(file, CurieUtilBuilder.defaultCurieUtil()); }
OntologyLoader { public static Ontology loadOntology(File file) { return loadOntology(file, CurieUtilBuilder.defaultCurieUtil()); } }
OntologyLoader { public static Ontology loadOntology(File file) { return loadOntology(file, CurieUtilBuilder.defaultCurieUtil()); } private  OntologyLoader(); }
OntologyLoader { public static Ontology loadOntology(File file) { return loadOntology(file, CurieUtilBuilder.defaultCurieUtil()); } private  OntologyLoader(); static Ontology loadOntology(File file); static Ontology loadOntology(File file, String... termIdPrefixes); static Ontology loadOntology(File file, CurieUtil curieUtil, String... termIdPrefixes); static Ontology loadOntology(InputStream inputStream); static Ontology loadOntology(InputStream inputStream, String... termIdPrefixes); static Ontology loadOntology(InputStream inputStream, CurieUtil curieUtil, String... termIdPrefixes); static Ontology loadOntology(GraphDocument graphDocument, CurieUtil curieUtil, String... termIdPrefixes); }
OntologyLoader { public static Ontology loadOntology(File file) { return loadOntology(file, CurieUtilBuilder.defaultCurieUtil()); } private  OntologyLoader(); static Ontology loadOntology(File file); static Ontology loadOntology(File file, String... termIdPrefixes); static Ontology loadOntology(File file, CurieUtil curieUtil, String... termIdPrefixes); static Ontology loadOntology(InputStream inputStream); static Ontology loadOntology(InputStream inputStream, String... termIdPrefixes); static Ontology loadOntology(InputStream inputStream, CurieUtil curieUtil, String... termIdPrefixes); static Ontology loadOntology(GraphDocument graphDocument, CurieUtil curieUtil, String... termIdPrefixes);  }