javax.mail.search
Class BodyTerm

java.lang.Object
  extended byjavax.mail.search.SearchTerm
      extended byjavax.mail.search.StringTerm
          extended byjavax.mail.search.BodyTerm
All Implemented Interfaces:
Serializable

public final class BodyTerm
extends StringTerm

Version:
$Revision: 1.3 $ $Date: 2004/03/10 10:00:28 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.mail.search.StringTerm
ignoreCase, pattern
 
Constructor Summary
BodyTerm(String body)
           
 
Method Summary
 boolean match(Message message)
           
 
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

BodyTerm

public BodyTerm(String body)
Method Detail

match

public boolean match(Message message)
Specified by:
match in class SearchTerm


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.