Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.greenstone.gatherer.msm
Class MDSFileFilter  view MDSFileFilter download MDSFileFilter.java

java.lang.Object
  extended byjavax.swing.filechooser.FileFilter
      extended byorg.greenstone.gatherer.msm.MDSFileFilter

public final class MDSFileFilter
extends javax.swing.filechooser.FileFilter

A custom FileFilter for the file choosers.


Field Summary
private  java.lang.String description
           
 
Constructor Summary
MDSFileFilter()
          Constructor.
 
Method Summary
 boolean accept(java.io.File f)
          Override this method to return true only if the file extension is .mds.
 java.lang.String getDescription()
          Retrieve the description for this filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

private java.lang.String description
Constructor Detail

MDSFileFilter

public MDSFileFilter()
Constructor.

Method Detail

accept

public boolean accept(java.io.File f)
Override this method to return true only if the file extension is .mds.


getDescription

public java.lang.String getDescription()
Retrieve the description for this filter.