javax.mail.search
Class NotTerm

java.lang.Object
  |
  +--javax.mail.search.SearchTerm
        |
        +--javax.mail.search.NotTerm

public final class NotTerm
extends SearchTerm

This class implements the logical NEGATION operator.


Field Summary
protected  SearchTerm term
           
 
Constructor Summary
NotTerm(SearchTerm t)
           
 
Method Summary
 SearchTerm getTerm()
          Return the term to negate.
 boolean match(Message msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

term

protected SearchTerm term
Constructor Detail

NotTerm

public NotTerm(SearchTerm t)
Method Detail

getTerm

public SearchTerm getTerm()
Return the term to negate.

match

public boolean match(Message msg)
Overrides:
match in class SearchTerm