public interface OWLOntologyStorer extends Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
canStoreOntology(OWLOntologyFormat ontologyFormat)
Determines if this storer can store an ontology in the specified ontology
format.
|
void |
storeOntology(OWLOntology ontology,
IRI documentIRI,
OWLOntologyFormat ontologyFormat)
Stores an ontology to the specified ontology document IRI in the
specified format.
|
void |
storeOntology(OWLOntologyManager manager,
OWLOntology ontology,
IRI documentIRI,
OWLOntologyFormat ontologyFormat)
Deprecated.
use storeOntology(ontology, documentIRI, ontologyFormat)
|
void |
storeOntology(OWLOntologyManager manager,
OWLOntology ontology,
OWLOntologyDocumentTarget target,
OWLOntologyFormat format)
Deprecated.
|
void |
storeOntology(OWLOntology ontology,
OWLOntologyDocumentTarget target,
OWLOntologyFormat format)
Stores an ontology to the specified target.
|
boolean canStoreOntology(OWLOntologyFormat ontologyFormat)
ontologyFormat
- The desired ontology format.true
if this storer can store an ontology in the desired
format.@Deprecated void storeOntology(OWLOntologyManager manager, OWLOntology ontology, IRI documentIRI, OWLOntologyFormat ontologyFormat) throws OWLOntologyStorageException, IOException
manager
- The managerontology
- 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, IRI documentIRI, OWLOntologyFormat 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 ontology@Deprecated void storeOntology(OWLOntologyManager manager, OWLOntology ontology, OWLOntologyDocumentTarget target, OWLOntologyFormat format) throws OWLOntologyStorageException, IOException
manager
- The managerontology
- 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.void storeOntology(OWLOntology ontology, OWLOntologyDocumentTarget target, OWLOntologyFormat 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 © 2017 The University of Manchester. All Rights Reserved.