org.apache.mailet.base
Class MatcherInverter
java.lang.Object
org.apache.mailet.base.MatcherInverter
- All Implemented Interfaces:
- org.apache.mailet.Matcher
public class MatcherInverter
- extends Object
- implements org.apache.mailet.Matcher
This class can be used as a wrapper for getting the "not matched" recipients
|
Constructor Summary |
MatcherInverter(org.apache.mailet.Matcher wrappedMatcher)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MatcherInverter
public MatcherInverter(org.apache.mailet.Matcher wrappedMatcher)
destroy
public void destroy()
- Specified by:
destroy in interface org.apache.mailet.Matcher
- See Also:
Matcher.destroy()
getMatcherConfig
public org.apache.mailet.MatcherConfig getMatcherConfig()
- Specified by:
getMatcherConfig in interface org.apache.mailet.Matcher
- See Also:
Matcher.getMatcherConfig()
getMatcherInfo
public String getMatcherInfo()
- Specified by:
getMatcherInfo in interface org.apache.mailet.Matcher
- See Also:
Matcher.getMatcherInfo()
init
public void init(org.apache.mailet.MatcherConfig config)
throws javax.mail.MessagingException
- Specified by:
init in interface org.apache.mailet.Matcher
- Throws:
javax.mail.MessagingException- See Also:
Matcher.destroy()
match
public Collection<org.apache.mailet.MailAddress> match(org.apache.mailet.Mail mail)
throws javax.mail.MessagingException
- Return a Collection of "not matched" recipients
- Specified by:
match in interface org.apache.mailet.Matcher
- Throws:
javax.mail.MessagingException
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.