Protege 2.1

edu.stanford.smi.protege.util
Class ExtensionFilter

java.lang.Object
  extended byjavax.swing.filechooser.FileFilter
      extended byedu.stanford.smi.protege.util.ExtensionFilter

public class ExtensionFilter
extends FileFilter

A file filter the works on a particular extension.

Author:
Ray Fergerson

Constructor Summary
ExtensionFilter(String extension, String description)
           
 
Method Summary
 boolean accept(File file)
           
 String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtensionFilter

public ExtensionFilter(String extension,
                       String description)
Method Detail

accept

public boolean accept(File file)

getDescription

public String getDescription()

Protege 2.1

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2004 Stanford University.