edu.pdx.cs399J.core
Class JavaFilenameFilter

java.lang.Object
  extended by edu.pdx.cs399J.core.JavaFilenameFilter
All Implemented Interfaces:
FilenameFilter

public class JavaFilenameFilter
extends Object
implements FilenameFilter

This class is a FilenameFilter that only accepts files that end in .java.


Constructor Summary
JavaFilenameFilter()
           
 
Method Summary
 boolean accept(File dir, String fileName)
          Returns true if a file's name ends with ".java"
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaFilenameFilter

public JavaFilenameFilter()
Method Detail

accept

public boolean accept(File dir,
                      String fileName)
Returns true if a file's name ends with ".java"

Specified by:
accept in interface FilenameFilter


Copyright © 2000-2009 Portland State University. All Rights Reserved.