org.at4j.archive
Class DirectoryAEF

java.lang.Object
  extended by org.entityfs.support.filter.AbstractConvenientFilter<ArchiveEntry<?,?>>
      extended by org.at4j.archive.DirectoryAEF
All Implemented Interfaces:
Cloneable, ArchiveEntryFilter, ConvenientFilter<ArchiveEntry<?,?>>, Filter<ArchiveEntry<?,?>>

public final class DirectoryAEF
extends AbstractConvenientFilter<ArchiveEntry<?,?>>
implements ArchiveEntryFilter

This is a filter that matches directory entries.

"AEF" stands for ArchiveEntryFilter.

Since:
1.0
Author:
Karl Gustafsson

Field Summary
static DirectoryAEF FILTER
          This singleton instance may be used instead of instantiating the filter.
 
Constructor Summary
DirectoryAEF()
           
 
Method Summary
 boolean matches(ArchiveEntry<?,?> 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
 

Field Detail

FILTER

public static final DirectoryAEF FILTER
This singleton instance may be used instead of instantiating the filter.

Constructor Detail

DirectoryAEF

public DirectoryAEF()
Method Detail

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.