com.mkdoc.io
Class JavaFileFilter

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

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

A basic Java source file filter.

Version:
0.1
Author:
Philip Shaw

Constructor Summary
JavaFileFilter()
           
 
Method Summary
 boolean accept(java.io.File pathname)
          Accept files with a .java extension.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaFileFilter

public JavaFileFilter()
Method Detail

accept

public final boolean accept(java.io.File pathname)
Accept files with a .java extension.

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