|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OWLOntologyStorer
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 02-Jan-2007
An ontology storer stores an ontology in a particular format at a location
specified by a particular URI.
Method Summary | |
---|---|
boolean |
canStoreOntology(OWLOntologyFormat ontologyFormat)
Determines if this storer can store an ontology in the specified ontology format. |
void |
storeOntology(OWLOntologyManager manager,
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,
OWLOntologyDocumentTarget target,
OWLOntologyFormat format)
Stores an ontology to the specified target. |
Method Detail |
---|
boolean canStoreOntology(OWLOntologyFormat ontologyFormat)
ontologyFormat
- The desired ontology format.
true
if this storer can store an ontology in the desired
format.void storeOntology(OWLOntologyManager manager, OWLOntology ontology, IRI documentIRI, OWLOntologyFormat ontologyFormat) throws OWLOntologyStorageException, java.io.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.
java.io.IOException
- if there was an IOException when storing the ontology
OWLOntologyStorageException
- if there was a problem storing the ontologyvoid storeOntology(OWLOntologyManager manager, OWLOntology ontology, OWLOntologyDocumentTarget target, OWLOntologyFormat format) throws OWLOntologyStorageException, java.io.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 ontology
OWLOntologyStorageException
- if there was a problem storing the ontology.
java.io.IOException
- if there was an IOException when storing the ontology.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |