|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.entityfs.support.filter.AbstractConvenientFilter<EntityView>
org.entityfs.util.filter.entity.EFileFilter
public final class EFileFilter
A filter that only matches EFile:s.
An instance of this class does not contain any mutable internal state. Use
the singleton instances FILTER or NOT_FILTER instead of
instantiating the class.
EntityTypeFilter,
DirectoryFilter| Field Summary | |
|---|---|
static EFileFilter |
FILTER
Singleton filter instance. |
static NotFilter<EntityView> |
NOT_FILTER
Singleton instance for the inversed filter. |
| Constructor Summary | |
|---|---|
EFileFilter()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
int |
hashCode()
|
boolean |
matches(EntityView ev)
Does the filter match the object? |
ConvenientFilter<EntityView> |
not()
Creates a filter that negates the result from this filter. |
String |
toString()
|
| Methods inherited from class org.entityfs.support.filter.AbstractConvenientFilter |
|---|
and, bitwiseNegate, isCase, or, xor |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final EFileFilter FILTER
public static final NotFilter<EntityView> NOT_FILTER
| Constructor Detail |
|---|
public EFileFilter()
| Method Detail |
|---|
public boolean matches(EntityView ev)
Filter
matches in interface Filter<EntityView>ev - The object to match.
true if the filter matches the object.public ConvenientFilter<EntityView> not()
ConvenientFilter
A filter implementing this method is also recommended to implement a
method called bitwiseNegate that delegates to this method. That
makes it possible to negate the filter using the ~ operator in a
Groovy script.
not in interface ConvenientFilter<EntityView>not in class AbstractConvenientFilter<EntityView>public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||