org.mule.providers.email.filters
Class AbstractMailFilter

java.lang.Object
  extended byorg.mule.providers.email.filters.AbstractMailFilter
All Implemented Interfaces:
UMOFilter
Direct Known Subclasses:
MailSubjectRegExFilter

public abstract class AbstractMailFilter
extends Object
implements UMOFilter

AbstractMailFilter is a base class for all javax.mail.Message filters.


Field Summary
protected  Log logger
          logger used by this class
 
Constructor Summary
AbstractMailFilter()
           
 
Method Summary
 boolean accept(UMOMessage message)
          Check a given message against this filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected transient Log logger
logger used by this class

Constructor Detail

AbstractMailFilter

public AbstractMailFilter()
Method Detail

accept

public final boolean accept(UMOMessage message)
Description copied from interface: UMOFilter
Check a given message against this filter.

Specified by:
accept in interface UMOFilter
Parameters:
message - a non null message to filter.
Returns:
true if the message matches the filter


Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.