|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.entityfs.support.filter.AbstractConvenientFilter<EntryToArchive>
org.at4j.archive.builder.NameETAF
public final class NameETAF
This filter matches entities with a specific name. The filter may either be case sensitive or not.
"ETAF" stands for EntryToArchiveFilter
Constructor Summary | |
---|---|
NameETAF(String name)
Create a new case sensitive name filter. |
|
NameETAF(String name,
boolean caseSensitive)
Create a new name filter. |
Method Summary | |
---|---|
boolean |
matches(EntryToArchive object)
Does the filter match the object? |
Methods inherited from class org.entityfs.support.filter.AbstractConvenientFilter |
---|
and, bitwiseNegate, isCase, not, or, xor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NameETAF(String name)
name
- The name to match.public NameETAF(String name, boolean caseSensitive)
name
- The name to match.caseSensitive
- Should the filter be case sensitive?Method Detail |
---|
public boolean matches(EntryToArchive object)
Filter
matches
in interface Filter<EntryToArchive>
object
- The object to match.
true
if the filter matches the object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |