edu.harvard.mgh.purcell.gPLINK2
Class PLINK_Open.gCLINEFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by edu.harvard.mgh.purcell.gPLINK2.PLINK_Open.gCLINEFilter
Enclosing class:
PLINK_Open

private class PLINK_Open.gCLINEFilter
extends javax.swing.filechooser.FileFilter

A FileFilter that will look for directories

Author:
Kathe Todd-Brown

Constructor Summary
private PLINK_Open.gCLINEFilter()
           
 
Method Summary
 boolean accept(java.io.File pathname)
          Checks to see if the file is valid.
 java.lang.String getDescription()
          Grab a valid discription of this filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PLINK_Open.gCLINEFilter

private PLINK_Open.gCLINEFilter()
Method Detail

accept

public boolean accept(java.io.File pathname)
Checks to see if the file is valid.

Specified by:
accept in class javax.swing.filechooser.FileFilter
Returns:
true if the file ends in the is a directory, false otherwise

getDescription

public java.lang.String getDescription()
Grab a valid discription of this filter.

Specified by:
getDescription in class javax.swing.filechooser.FileFilter
Returns:
a valid discription of the filter, "directory"