edu.harvard.mgh.purcell.gCLINE.tester
Class Open.gCLINEFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by edu.harvard.mgh.purcell.gCLINE.tester.Open.gCLINEFilter
Enclosing class:
Open

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

A FileFilter that will look for directories

Author:
Kathe Todd-Brown

Constructor Summary
private 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

Open.gCLINEFilter

private 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"