org.coode.owlapi.obo.renderer
Class OBOFlatFileOntologyStorer

java.lang.Object
  extended by org.semanticweb.owlapi.util.AbstractOWLOntologyStorer
      extended by org.coode.owlapi.obo.renderer.OBOFlatFileOntologyStorer
All Implemented Interfaces:
OWLOntologyStorer

public class OBOFlatFileOntologyStorer
extends AbstractOWLOntologyStorer

Author: Nick Drummond
The University Of Manchester
Bio Health Informatics Group
Date: Dec 17, 2008


Constructor Summary
OBOFlatFileOntologyStorer()
           
 
Method Summary
 boolean canStoreOntology(OWLOntologyFormat ontologyFormat)
          Determines if this storer can store an ontology in the specified ontology format.
protected  void storeOntology(OWLOntologyManager manager, OWLOntology ontology, java.io.Writer writer, OWLOntologyFormat format)
           
 
Methods inherited from class org.semanticweb.owlapi.util.AbstractOWLOntologyStorer
storeOntology, storeOntology
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OBOFlatFileOntologyStorer

public OBOFlatFileOntologyStorer()
Method Detail

canStoreOntology

public boolean canStoreOntology(OWLOntologyFormat ontologyFormat)
Description copied from interface: OWLOntologyStorer
Determines if this storer can store an ontology in the specified ontology format.

Parameters:
ontologyFormat - The desired ontology format.
Returns:
true if this storer can store an ontology in the desired format.

storeOntology

protected void storeOntology(OWLOntologyManager manager,
                             OWLOntology ontology,
                             java.io.Writer writer,
                             OWLOntologyFormat format)
                      throws OWLOntologyStorageException
Specified by:
storeOntology in class AbstractOWLOntologyStorer
Throws:
OWLOntologyStorageException