data = doc.getBytes(); } else if (format instanceof OBODocumentFormat && !checkOBO) { OWLAPIOwl2Obo bridge = new OWLAPIOwl2Obo(ontology.getOWLOntologyManager()); OBODoc oboOntology = bridge.convert(ontology); ByteArrayOutputStream baos = new ByteArrayOutputStream();
} else if (format instanceof OBODocumentFormat && !checkOBO) { OWLAPIOwl2Obo bridge = new OWLAPIOwl2Obo(ontology.getOWLOntologyManager()); OBODoc oboOntology = bridge.convert(ontology); File f = new File(ontologyIRI.toURI());
throws OWLOntologyStorageException { try { OWLAPIOwl2Obo translator = new OWLAPIOwl2Obo(ontology.getOWLOntologyManager()); final OBODoc result = translator.convert(ontology); boolean hasImports = !asList(ontology.imports()).isEmpty();
throws OWLOntologyStorageException { try { OWLAPIOwl2Obo translator = new OWLAPIOwl2Obo(ontology.getOWLOntologyManager()); final OBODoc result = translator.convert(ontology); boolean hasImports = !asList(ontology.imports()).isEmpty();
throws OWLOntologyStorageException { try { OWLAPIOwl2Obo translator = new OWLAPIOwl2Obo(ontology.getOWLOntologyManager()); final OBODoc result = translator.convert(ontology); boolean hasImports = !asList(ontology.imports()).isEmpty();
throws OWLOntologyStorageException { try { OWLAPIOwl2Obo translator = new OWLAPIOwl2Obo(ontology.getOWLOntologyManager()); final OBODoc result = translator.convert(ontology); boolean hasImports = !asList(ontology.imports()).isEmpty();