org.at4j.archive
Class FileAEF

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

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

This is a filter that matches file entries.

"AEF" stands for ArchiveEntryFilter.

Since:
1.0
Author:
Karl Gustafsson

Field Summary
static FileAEF FILTER
          This singleton instance may be used instead of instantiating the filter.
 
Constructor Summary
FileAEF()
           
 
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 FileAEF FILTER
This singleton instance may be used instead of instantiating the filter.

Constructor Detail

FileAEF

public FileAEF()
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.