org.at4j.archive
Class NameGlobAEF
java.lang.Object
org.entityfs.support.filter.AbstractConvenientFilter<ArchiveEntry<?,?>>
org.at4j.archive.NameGlobAEF
- All Implemented Interfaces:
- Cloneable, ArchiveEntryFilter, ConvenientFilter<ArchiveEntry<?,?>>, Filter<ArchiveEntry<?,?>>
public final class NameGlobAEF
- extends AbstractConvenientFilter<ArchiveEntry<?,?>>
- implements ArchiveEntryFilter
This is a filter that matches entry names that match a Glob
pattern.
"AEF" stands for ArchiveEntryFilter
.
- Since:
- 1.0
- Author:
- Karl Gustafsson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NameGlobAEF
public NameGlobAEF(Glob pattern)
matches
public boolean matches(ArchiveEntry<?,?> object)
- Description copied from interface:
Filter
- Does the filter match the object?
- Specified by:
matches
in interface Filter<ArchiveEntry<?,?>>
- Parameters:
object
- The object to match.
- Returns:
true
if the filter matches the object.