javax.mail.search

Class SearchTerm

Implemented Interfaces:
Serializable
Known Direct Subclasses:
AddressTerm, AndTerm, ComparisonTerm, FlagTerm, NotTerm, OrTerm, StringTerm

public abstract class SearchTerm
extends java.lang.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

Method Summary

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

Method Details

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