brain.gui
Class GnuplotFileFilter

java.lang.Object
  extended by brain.gui.GnuplotFileFilter
All Implemented Interfaces:
java.io.FilenameFilter

public class GnuplotFileFilter
extends java.lang.Object
implements java.io.FilenameFilter

This class helps to filter the parameter file types in the file chooser dialog used to load and save module configurations.


Constructor Summary
GnuplotFileFilter()
           
 
Method Summary
 boolean accept(java.io.File dir, java.lang.String name)
          Whether the given file is accepted by this filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GnuplotFileFilter

public GnuplotFileFilter()
Method Detail

accept

public boolean accept(java.io.File dir,
                      java.lang.String name)
Whether the given file is accepted by this filter.

Specified by:
accept in interface java.io.FilenameFilter
Parameters:
dir - - file path to directory
name - - name
Returns:
true if prefix machtes, false otherwise