|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.mail.search.SearchTerm
javax.mail.search.StringTerm
javax.mail.search.BodyTerm
public final class BodyTerm
Term that matches on a message body. All parts
that have
a MIME type of "text/*" are searched.
Field Summary |
---|
Fields inherited from class javax.mail.search.StringTerm |
---|
ignoreCase, pattern |
Constructor Summary | |
---|---|
BodyTerm(java.lang.String pattern)
|
Method Summary | |
---|---|
boolean |
match(Message message)
Checks a matching criteria defined by the concrete subclass of this Term. |
Methods inherited from class javax.mail.search.StringTerm |
---|
equals, getIgnoreCase, getPattern, hashCode, match |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BodyTerm(java.lang.String pattern)
Method Detail |
---|
public boolean match(Message message)
SearchTerm
match
in class SearchTerm
message
- the message to apply the matching criteria to
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |