public class TrueClassFilter extends _AbstractBaseFilter implements LogicFilterType
ClassPathFilter.Util| Modifier and Type | Field and Description |
|---|---|
static ClassPathFilter |
TRUE
Singleton instance of true filter.
|
NO_ARGSABSTRACT_CLASS, ANNOTATION_CLASS, FALSE, INTERFACE_CLASS| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Class<?> clazz)
Returns true.
|
boolean |
accept(String string)
Returns true.
|
boolean |
accept(URL url)
Returns true.
|
String[] |
args()
Get the arguments for the function.
|
protected org.apache.commons.logging.Log |
getLog() |
ClassPathFilter |
optimize() |
equals, filterClasses, filterNames, filterURLs, funcName, hashCode, loadClass, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitfilterClasses, filterNames, filterURLs, funcNamepublic static final ClassPathFilter TRUE
protected org.apache.commons.logging.Log getLog()
getLog in class _AbstractBaseFilterpublic boolean accept(URL url)
accept in interface ClassPathFilterurl - the url to check (ignored)public boolean accept(Class<?> clazz)
accept in interface ClassPathFilterclazz - the class to check (ignored)public boolean accept(String string)
accept in interface ClassPathFilterstring - the string name (ignored)public String[] args()
args in interface ClassPathFilterpublic ClassPathFilter optimize()
optimize in interface ClassPathFilterCopyright © 2013-2017 XENEI.com. All Rights Reserved.