javax.mail.search
Class SearchTerm

java.lang.Object
  extended by javax.mail.search.SearchTerm
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AddressTerm, AndTerm, ComparisonTerm, FlagTerm, NotTerm, OrTerm, StringTerm

public abstract class SearchTerm
extends java.lang.Object
implements java.io.Serializable

A search expression is represented as a tree of search terms. All search terms derive from this class.

Version:
1.4
Author:
Chris Burdess
See Also:
Serialized Form

Constructor Summary
SearchTerm()
           
 
Method Summary
abstract  boolean match(Message msg)
          Indicates whether the given message matches this search term.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchTerm

public SearchTerm()
Method Detail

match

public abstract boolean match(Message msg)
Indicates whether the given message matches this search term.



© Copyright 2003, 2004 The Free Software Foundation, All rights reserved