当前页面:
在线文档首页 >
Java Platform, Enterprise Edition v1.3.1 API Specifications
Java 2 Platform EE v1.3: Class NotTerm - Java Platform, Enterprise Edition v1.3.1 API Specifications
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.
Method Summary |
SearchTerm |
getTerm()
Return the term to negate. |
boolean |
match(Message msg)
This method applies a specific match criterion to the given
message and returns the result. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
term
protected SearchTerm term
NotTerm
public NotTerm(SearchTerm t)
getTerm
public SearchTerm getTerm()
- Return the term to negate.
match
public boolean match(Message msg)
- Description copied from class:
SearchTerm
- This method applies a specific match criterion to the given
message and returns the result.
- Overrides:
match
in class SearchTerm
- Following copied from class:
javax.mail.search.SearchTerm
- Parameters:
msg
- The match criterion is applied on this message- Returns:
- true, it the match succeeds, false if the match fails