|
|||||||||||
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
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. |
private boolean |
matchPart(Part part)
|
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
private boolean matchPart(Part part) throws MessagingException, java.io.IOException
MessagingException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |