javax.mail.search
Class SearchTerm
java.lang.Object
javax.mail.search.SearchTerm
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AddressTerm, AndTerm, ComparisonTerm, FlagTerm, NotTerm, OrTerm, StringTerm
public abstract class SearchTerm
- extends Object
- implements 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
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 |
SearchTerm
public SearchTerm()
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