org.clapper.util.classutil
Interface ClassFilter
- All Known Implementing Classes:
- AbstractClassFilter, AndClassFilter, ClassModifiersClassFilter, InterfaceOnlyClassFilter, NotClassFilter, OrClassFilter, RegexClassFilter, SubclassClassFilter
public interface ClassFilter
Instances of classes that implement this interface are used, with a
ClassFinder object, to filter class names. This interface is
deliberately reminiscent of the java.io.FilenameFilter
interface.
- Version:
- $Revision: 6735 $
- Author:
- Copyright © 2006 Brian M. Clapper
- See Also:
ClassFinder
|
Method Summary |
boolean |
accept(ClassInfo classInfo,
ClassFinder classFinder)
Tests whether a class name should be included in a class name
list. |
accept
boolean accept(ClassInfo classInfo,
ClassFinder classFinder)
- Tests whether a class name should be included in a class name
list.
- Parameters:
classInfo - the loaded information about the classclassFinder - the ClassFinder that called this filter
(mostly for access to ClassFinder
utility methods)
- Returns:
- true if and only if the name should be included
in the list; false otherwise
Copyright © 2004-2007 Brian M. Clapper. All Rights Reserved.