org.clapper.util.io
Class DirectoryFilter

java.lang.Object
  extended by org.clapper.util.io.DirectoryFilter
All Implemented Interfaces:
java.io.FileFilter

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

DirectoryFilter implements a java.io.FileFilter that matches only directories.

Version:
$Revision: 6735 $
Author:
Copyright © 2004-2007 Brian M. Clapper

Constructor Summary
DirectoryFilter()
           
 
Method Summary
 boolean accept(java.io.File f)
          Determine whether the specified file is a directory or not.
 
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 f)
Determine whether the specified file is a directory or not.

Specified by:
accept in interface java.io.FileFilter
Returns:
true if the file is a directory, false if not


Copyright © 2004-2007 Brian M. Clapper. All Rights Reserved.