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 java.lang.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)
|
Method Summary |
void |
destroy()
|
org.apache.mailet.MatcherConfig |
getMatcherConfig()
|
java.lang.String |
getMatcherInfo()
|
void |
init(org.apache.mailet.MatcherConfig config)
|
java.util.Collection |
match(org.apache.mailet.Mail mail)
Return a Collection of "not matched" recipients |
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 java.lang.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 java.util.Collection 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-2009 The Apache Software Foundation. All Rights Reserved.