com.huguesjohnson
Class DirectoryFilter

java.lang.Object
  |
  +--com.huguesjohnson.DirectoryFilter
All Implemented Interfaces:
java.io.FilenameFilter

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

class DirectoryFilter


Constructor Summary
DirectoryFilter()
           
 
Method Summary
 boolean accept(java.io.File dir, java.lang.String name)
          accept returns true if the file and name passed are a directory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryFilter

public DirectoryFilter()
Method Detail

accept

public boolean accept(java.io.File dir,
                      java.lang.String name)
accept returns true if the file and name passed are a directory

Specified by:
accept in interface java.io.FilenameFilter
Parameters:
dir - path to current directory
name - name of file to test
Returns:
true if dir+name is a directory