org.semanticweb.owl.util
Class AbstractOWLOntologyStorer
java.lang.Object
org.semanticweb.owl.util.AbstractOWLOntologyStorer
- All Implemented Interfaces:
- OWLOntologyStorer
- Direct Known Subclasses:
- DLSyntaxOntologyStorerBase, KRSS2OWLSyntaxOntologyStorer, LatexOntologyStorer, ManchesterOWLSyntaxOntologyStorer, OWLFunctionalSyntaxOntologyStorer, OWLXMLOntologyStorer, RDFXMLOntologyStorer, TurtleOntologyStorer
public abstract class AbstractOWLOntologyStorer
- extends java.lang.Object
- implements OWLOntologyStorer
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 04-Dec-2007
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractOWLOntologyStorer
public AbstractOWLOntologyStorer()
storeOntology
public void storeOntology(OWLOntologyManager manager,
OWLOntology ontology,
java.net.URI physicalURI,
OWLOntologyFormat ontologyFormat)
throws OWLOntologyStorageException
- Description copied from interface:
OWLOntologyStorer
- Stores an ontology at the specified physical URI in the specified format.
- Specified by:
storeOntology in interface OWLOntologyStorer
- Parameters:
manager - The managerontology - The ontology to be storedphysicalURI - The physical URI that specifies the locationontologyFormat - The format that the ontology should be stored in
- Throws:
OWLOntologyStorageException - if there was a problem storing the ontology.
storeOntology
public void storeOntology(OWLOntologyManager manager,
OWLOntology ontology,
OWLOntologyOutputTarget target,
OWLOntologyFormat format)
throws OWLOntologyStorageException
- Description copied from interface:
OWLOntologyStorer
- Stores an ontology to the specified target. This method assumes the storer can write the
ontology to some stream.
- Specified by:
storeOntology in interface OWLOntologyStorer
- Parameters:
manager - The managerontology - The ontology to be storedtarget - The target which describes the physical location of where the ontology should be storedformat - The format in which to store the ontology
- Throws:
OWLOntologyStorageException - if there was a problem storing the ontology.