Clover coverage report - baseCode - 0.2.5 Coverage timestamp: Tue Apr 12 2005 11:31:58 EDT FRAMES NO FRAMES |
file stats: | LOC: | 33 |  | Methods: | 2
| NCLOC: | 14 |  | Classes: | 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
Source file | Conditionals | Statements | Methods | TOTAL
DataFileFilter.java | 0% | 0% | 0% | 0% |

1 |  |
     package baseCode.gui.file;
2 |  |
3 |  |
     import java.io.File;
4 |  |
5 |  |
     import javax.swing.filechooser.FileFilter;
6 |  |
7 |  |
     import baseCode.util.FileTools;
8 |  |
9 |  |
     /**
10 |  |
      * <hr>
11 |  |
      * <p>
12 |  |
      * Copyright (c) 2004 Columbia University
13 |  |
      *
14 |  |
      * @author Will Braynen
15 |  |
      * @version $Id: DataFileFilter.java,v 1.3 2004/07/27 03:18:58 pavlidis Exp $
16 |  |
      */
17 |  |
     public class DataFileFilter extends FileFilter {
18 |  |
19 | 0 |
        public boolean accept( File f ) {
20 |  |
21 | 0 |
           if ( f.isDirectory() ) {
22 | 0 |
              return true;
23 |  |
           }
24 |  |
25 | 0 |
           return FileTools.hasDataExtension( f.getName() );
26 |  |
27 |  |
        } // end accept
28 |  |
29 | 0 |
        public String getDescription() {
30 |  |
31 | 0 |
           return "TXT data files";
32 |  |
        }
33 |  |
     }