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

org.protege.editor.owl.model.OntologyFileFilter Maven / Gradle / Ivy

package org.protege.editor.owl.model;

import java.io.File;
import java.io.FileFilter;


/**
 * Author: Matthew Horridge
* The University Of Manchester
* Medical Informatics Group
* Date: 23-Aug-2006

* [email protected]
* www.cs.man.ac.uk/~horridgm

* A file filter that accepts probable ontology files. */ public class OntologyFileFilter implements FileFilter { public boolean accept(File pathname) { String name = pathname.getName(); return name.endsWith(".owl") | name.endsWith(".rdf") | name.endsWith(".xml"); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy