org.milyn.classpath
Class InstanceOfFilter
java.lang.Object
org.milyn.classpath.InstanceOfFilter
- All Implemented Interfaces:
- Filter
public class InstanceOfFilter
- extends Object
Filter classpath classes based on their type.
- Author:
- tom.fennelly@gmail.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstanceOfFilter
public InstanceOfFilter(Class<?> searchType)
InstanceOfFilter
public InstanceOfFilter(Class<?> searchType,
String[] ignoreList,
String[] includeList)
addClass
protected boolean addClass(Class<?> clazz)
filter
public void filter(String resourceName)
- Description copied from interface:
Filter
- Classpath resource filter method.
- Specified by:
filter in interface Filter
- Parameters:
resourceName - The classpath resource file name. Needs to be converted to
a proper class name
isIgnorable
public boolean isIgnorable(String resourceName)
- Description copied from interface:
Filter
- Is this resource ignorable.
- Specified by:
isIgnorable in interface Filter
- Returns:
getClasses
public List<Class> getClasses()
Copyright © 2018. All rights reserved.