com.mkdoc.io
Class DirectoryFileFilter

java.lang.Object
  |
  +--com.mkdoc.io.DirectoryFileFilter
All Implemented Interfaces:
java.io.FileFilter

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

A directory filter.

Version:
0.1
Author:
Philip Shaw

Constructor Summary
DirectoryFileFilter()
           
 
Method Summary
 boolean accept(java.io.File pathname)
          Accept directories only.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryFileFilter

public DirectoryFileFilter()
Method Detail

accept

public final boolean accept(java.io.File pathname)
Accept directories only.

Specified by:
accept in interface java.io.FileFilter
Parameters:
pathname - A file reference to check.
Returns:
true if the path is a directory.
Since:
Version 0.1 2004-11-05