wyvern.common.util
Class DirnameFilter

java.lang.Object
  extended bywyvern.common.util.DirnameFilter
All Implemented Interfaces:
java.io.FilenameFilter

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

JDK 1.1-style FilenameFilter implementation that only accepts directories.

Version:
1.0, Aug 17, 1998
Author:
Steve Yegge

Constructor Summary
DirnameFilter()
           
 
Method Summary
 boolean accept(java.io.File dir, java.lang.String name)
          Implements FilenameFilter.accept.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirnameFilter

public DirnameFilter()
Method Detail

accept

public boolean accept(java.io.File dir,
                      java.lang.String name)
Implements FilenameFilter.accept. Passes only directories.

Specified by:
accept in interface java.io.FilenameFilter
Parameters:
name - the absolute name of the file