All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.coode.owlapi.obo.renderer.OBOFlatFileOntologyStorerFactory Maven / Gradle / Ivy

/**
 * 
 */
package org.coode.owlapi.obo.renderer;

import org.kohsuke.MetaInfServices;
import org.semanticweb.owlapi.formats.OBOOntologyFormatFactory;
import org.semanticweb.owlapi.formats.OWLOntologyFormatFactory;
import org.semanticweb.owlapi.model.OWLOntologyStorer;
import org.semanticweb.owlapi.model.OWLOntologyStorerFactory;

/**
 * @author Peter Ansell [email protected]
 *
 */
@MetaInfServices(org.semanticweb.owlapi.model.OWLOntologyStorerFactory.class)
public class OBOFlatFileOntologyStorerFactory implements OWLOntologyStorerFactory
{
    
    /* (non-Javadoc)
     * @see org.semanticweb.owlapi.model.OWLOntologyStorerFactory#createStorer()
     */
    @Override
    public OWLOntologyStorer createStorer() {
        return new OBOFlatFileOntologyStorer();
    }
    
    /* (non-Javadoc)
     * @see org.semanticweb.owlapi.model.OWLOntologyStorerFactory#getFormat()
     */
    @Override
    public OWLOntologyFormatFactory getFormatFactory() {
        return new OBOOntologyFormatFactory();
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy