org.mule.transport.email.filters
Class AbstractMailFilter
java.lang.Object
org.mule.transport.email.filters.AbstractMailFilter
- All Implemented Interfaces:
- Filter
- Direct Known Subclasses:
- MailSubjectRegExFilter
public abstract class AbstractMailFilter
- extends Object
- implements Filter
AbstractMailFilter
is a base class for all javax.mail.Message
filters.
Field Summary |
protected Log |
logger
logger used by this class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected transient Log logger
- logger used by this class
AbstractMailFilter
public AbstractMailFilter()
accept
public final boolean accept(MuleMessage message)
- Description copied from interface:
Filter
- Check a given message against this filter.
- Specified by:
accept
in interface Filter
- Parameters:
message
- a non null message to filter.
- Returns:
true
if the message matches the filter
accept
public abstract boolean accept(Message message)
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.