org.apache.mailet.base
Class MatcherInverter

java.lang.Object
  extended by org.apache.mailet.base.MatcherInverter
All Implemented Interfaces:
Matcher

public class MatcherInverter
extends java.lang.Object
implements Matcher

This class can be used as a wrapper for getting the "not matched" recipients


Constructor Summary
MatcherInverter(Matcher wrappedMatcher)
           
 
Method Summary
 void destroy()
           
 MatcherConfig getMatcherConfig()
           
 java.lang.String getMatcherInfo()
           
 void init(MatcherConfig config)
           
 java.util.Collection match(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
 

Constructor Detail

MatcherInverter

public MatcherInverter(Matcher wrappedMatcher)
Method Detail

destroy

public void destroy()
Specified by:
destroy in interface Matcher
See Also:
Matcher.destroy()

getMatcherConfig

public MatcherConfig getMatcherConfig()
Specified by:
getMatcherConfig in interface Matcher
See Also:
Matcher.getMatcherConfig()

getMatcherInfo

public java.lang.String getMatcherInfo()
Specified by:
getMatcherInfo in interface Matcher
See Also:
Matcher.getMatcherInfo()

init

public void init(MatcherConfig config)
          throws javax.mail.MessagingException
Specified by:
init in interface Matcher
Throws:
javax.mail.MessagingException
See Also:
Matcher.destroy()

match

public java.util.Collection match(Mail mail)
                           throws javax.mail.MessagingException
Return a Collection of "not matched" recipients

Specified by:
match in interface Matcher
Throws:
javax.mail.MessagingException


Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.