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(@Nonnull OWLDocumentFormat ontologyFormat)
ontologyFormat - The desired ontology format.true if this storer can store an ontology in the desired
format.void storeOntology(@Nonnull OWLOntology ontology, @Nonnull IRI documentIRI, @Nonnull 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(@Nonnull OWLOntology ontology, @Nonnull OWLOntologyDocumentTarget target, @Nonnull 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 © 2016 The University of Manchester. All Rights Reserved.