Package org.smooks.classpath
Class InstanceOfFilter
- java.lang.Object
-
- org.smooks.classpath.InstanceOfFilter
-
- All Implemented Interfaces:
Filter
public class InstanceOfFilter extends Object
Filter classpath classes based on their type.- Author:
- tom.fennelly@gmail.com
-
-
Constructor Summary
Constructors Constructor Description InstanceOfFilter(Class<?> searchType)
InstanceOfFilter(Class<?> searchType, String[] ignoreList, String[] includeList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
addClass(Class<?> clazz)
void
filter(String resourceName)
Classpath resource filter method.List<Class<?>>
getClasses()
boolean
isIgnorable(String resourceName)
Is this resource ignorable.
-
-
-
Method Detail
-
addClass
protected boolean addClass(Class<?> clazz)
-
filter
public void filter(String resourceName)
Description copied from interface:Filter
Classpath resource filter method.
-
isIgnorable
public boolean isIgnorable(String resourceName)
Description copied from interface:Filter
Is this resource ignorable.- Specified by:
isIgnorable
in interfaceFilter
- Returns:
-
-