javax.mail.search
Class MessageNumberTerm
- Serializable
public final class MessageNumberTerm
A comparison of message numbers.
boolean | equals(Object other)
|
boolean | match(Message msg) - Returns true if the message number of the given message is equal to the
message number specified in this term.
|
MessageNumberTerm
public MessageNumberTerm(int number)
Constructor.
number
- the message number to match
match
public boolean match(Message msg)
Returns true if the message number of the given message is equal to the
message number specified in this term.
- match in interface SearchTerm
© Copyright 2003, 2004
The Free Software Foundation, All rights reserved