javax.mail.search
public final class BodyTerm extends StringTerm
text
OR
text
.
Version: 1.4
Constructor Summary | |
---|---|
BodyTerm(String pattern)
Constructor. |
Method Summary | |
---|---|
boolean | equals(Object other) |
boolean | match(Message msg)
Returns true only if the search text was found in the message body. |
Parameters: pattern the text to search for