public class NotClassFilter extends _AbstractBaseFilter implements CollectionFilterType
ClassPathFilter.UtilNO_ARGSABSTRACT_CLASS, ANNOTATION_CLASS, FALSE, INTERFACE_CLASS, TRUE| Constructor and Description |
|---|
NotClassFilter(ClassPathFilter filter)
Constructs a new file filter that NOTs the result of another filter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Class<?> clazz)
Returns the logical NOT of the underlying filter's return value for the
same Clazz.
|
boolean |
accept(String className)
Returns the logical NOT of the underlying filter's return value for the
same string.
|
boolean |
accept(URL url)
Returns the logical NOT of the underlying filter's return value for the
same URL.
|
String[] |
args()
Get the arguments for the function.
|
List<ClassPathFilter> |
getFilters()
Returns this filter's list of file filters.
|
protected org.apache.commons.logging.Log |
getLog() |
ClassPathFilter |
optimize() |
String |
toString()
Provide a String representation of this c;ass filter.
|
equals, filterClasses, filterNames, filterURLs, funcName, hashCode, loadClassclone, finalize, getClass, notify, notifyAll, wait, wait, waitfilterClasses, filterNames, filterURLs, funcNamepublic NotClassFilter(ClassPathFilter filter)
filter - the enclosed filter, must not be nullIllegalArgumentException - if the filter is nullprotected org.apache.commons.logging.Log getLog()
getLog in class _AbstractBaseFilterpublic boolean accept(URL url)
accept in interface ClassPathFilterurl - the URL to checkpublic boolean accept(Class<?> clazz)
accept in interface ClassPathFilterclazz - the Class to checkpublic boolean accept(String className)
accept in interface ClassPathFilterclassName - the class name to check.public String toString()
toString in class _AbstractBaseFilterpublic String[] args()
args in interface ClassPathFilterpublic ClassPathFilter optimize()
optimize in interface ClassPathFilterpublic List<ClassPathFilter> getFilters()
CollectionFilterTypegetFilters in interface CollectionFilterTypeCopyright © 2013-2017 XENEI.com. All Rights Reserved.