JET

edu.utep.cs.et.gui.tester
Class Options.TextFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by edu.utep.cs.et.gui.tester.Options.TextFileFilter
Enclosing class:
Options

private static class Options.TextFileFilter
extends FileFilter

A file filter class to filter out non-java files.


Field Summary
private static String TEXT_EXTENSION
          The extension for Java source files.
 
Constructor Summary
private Options.TextFileFilter()
           
 
Method Summary
 boolean accept(File f)
          Accept all directories and all Java files.
 String getDescription()
          Returns the description of this filter.
private static String getExtension(File f)
          Returns the extension of the give file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEXT_EXTENSION

private static final String TEXT_EXTENSION
The extension for Java source files.

See Also:
Constant Field Values
Constructor Detail

Options.TextFileFilter

private Options.TextFileFilter()
Method Detail

accept

public boolean accept(File f)
Accept all directories and all Java files.

Specified by:
accept in class FileFilter

getDescription

public String getDescription()
Returns the description of this filter.

Specified by:
getDescription in class FileFilter

getExtension

private static String getExtension(File f)
Returns the extension of the give file.


JET

JET is Copyright (C) 2005-2007 by The University of Texas at El Paso and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.