public abstract class AbstractOWLStorer extends Object implements OWLStorer
Constructor and Description |
---|
AbstractOWLStorer() |
Modifier and Type | Method and Description |
---|---|
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.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canStoreOntology
public void storeOntology(OWLOntology ontology, IRI documentIRI, OWLDocumentFormat ontologyFormat) throws OWLOntologyStorageException
OWLStorer
storeOntology
in interface OWLStorer
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.OWLOntologyStorageException
- if there was a problem storing the ontologypublic void storeOntology(OWLOntology ontology, OWLOntologyDocumentTarget target, OWLDocumentFormat format) throws OWLOntologyStorageException
OWLStorer
storeOntology
in interface OWLStorer
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.Copyright © 2020 The University of Manchester. All rights reserved.