javax.mail.search
Class SubjectTerm

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

public final class SubjectTerm
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
SubjectTerm(String subject)
           
 
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

SubjectTerm

public SubjectTerm(String subject)
Method Detail

match

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


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