package baseCode.gui.file;

import java.io.File;

import javax.swing.filechooser.FileFilter;

import baseCode.util.FileTools;

/**
 * <hr>
 * <p>
 * Copyright (c) 2004 Columbia University
 * 
 * @author Will Braynen
 * @version $Id$
 */
public class DataFileFilter extends FileFilter {

   public boolean accept( File f ) {

      if ( f.isDirectory() ) {
         return true;
      }

      return FileTools.hasDataExtension( f.getName() );

   } // end accept

   public String getDescription() {

      return "TXT data files";
   }
}
@@ -91,41 +91,8 @@
 r;%0A%0A
-import baseCode.util.FileTools;%0A%0A
 /**%0A
@@ -364,49 +364,12 @@
 urn 
-FileTools.hasDataExtension( f.getName() )
+true
 ;%0A%0A 

remove useless method