org.apache.tools.ant.taskdefs.optional.ejb

Class InnerClassFilenameFilter

Implemented Interfaces:
FilenameFilter

public class InnerClassFilenameFilter
extends java.lang.Object
implements FilenameFilter

A filename filter for inner class files of a particular class.

Method Summary

boolean
accept(File dir, String filename)
Check if the file name passes the filter.

Method Details

accept

public boolean accept(File dir,
                      String filename)
Check if the file name passes the filter.
Parameters:
dir - not used.
filename - the filename to filter on.
Returns:
true if the filename is an inner class of the base class.