java.io.Serializablepublic final class BodyTerm extends StringTerm
text OR
text.
ignoreCase, pattern| Constructor | Description |
|---|---|
BodyTerm(java.lang.String pattern) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object other) |
|
boolean |
match(Message msg) |
Returns true only if the search text was found in the message body.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetIgnoreCase, getPattern, hashCode, matchpublic BodyTerm(java.lang.String pattern)
pattern - the text to search forpublic boolean match(Message msg)
match in class SearchTermpublic boolean equals(java.lang.Object other)
equals in class StringTerm© Copyright 2003, 2004 The Free Software Foundation, All rights reserved