javax.mail.search
Class StringTerm

java.lang.Object
  extended byjavax.mail.search.SearchTerm
      extended byjavax.mail.search.StringTerm
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AddressStringTerm, BodyTerm, HeaderTerm, MessageIDTerm, SubjectTerm

public abstract class StringTerm
extends SearchTerm

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

Field Summary
protected  boolean ignoreCase
           
protected  String pattern
           
 
Constructor Summary
protected StringTerm(String pattern)
           
protected StringTerm(String pattern, boolean ignoreCase)
           
 
Method Summary
 boolean equals(Object other)
           
 boolean getIgnoreCase()
           
 String getPattern()
           
 int hashCode()
           
protected  boolean match(String match)
           
 
Methods inherited from class javax.mail.search.SearchTerm
match
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ignoreCase

protected boolean ignoreCase

pattern

protected String pattern
Constructor Detail

StringTerm

protected StringTerm(String pattern)

StringTerm

protected StringTerm(String pattern,
                     boolean ignoreCase)
Method Detail

equals

public boolean equals(Object other)
Overrides:
equals in class SearchTerm

getIgnoreCase

public boolean getIgnoreCase()

getPattern

public String getPattern()

hashCode

public int hashCode()
Overrides:
hashCode in class SearchTerm

match

protected boolean match(String match)


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