public interface OWLStorer extends Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
canStoreOntology(OWLDocumentFormat ontologyFormat)
Determines if this storer can store an ontology in the specified ontology
format.
|
void |
storeOntology(OWLOntology ontology,
IRI documentIRI,
OWLDocumentFormat ontologyFormat)
Stores an ontology to the specified ontology document IRI in the
specified format.
|
void |
storeOntology(OWLOntology ontology,
OWLOntologyDocumentTarget target,
OWLDocumentFormat format)
Stores an ontology to the specified target.
|
boolean canStoreOntology(OWLDocumentFormat ontologyFormat)
ontologyFormat - The desired ontology format.true if this storer can store an ontology in the desired format.void storeOntology(OWLOntology ontology, IRI documentIRI, OWLDocumentFormat ontologyFormat) throws OWLOntologyStorageException, IOException
ontology - The ontology to be storeddocumentIRI - The ontology document IRI where the ontology will be saved toontologyFormat - The format that the ontology should be stored in @throws
OWLOntologyStorageException if there was a problem storing the ontology.IOException - if there was an IOException when storing the ontologyOWLOntologyStorageException - if there was a problem storing the ontologyvoid storeOntology(OWLOntology ontology, OWLOntologyDocumentTarget target, OWLDocumentFormat format) throws OWLOntologyStorageException, IOException
ontology - The ontology to be storedtarget - The target which describes the ontology document where the ontology should be
storedformat - The format in which to store the ontologyOWLOntologyStorageException - if there was a problem storing the ontology.IOException - if there was an IOException when storing the ontology.Copyright © 2018 The University of Manchester. All rights reserved.