javax.mail.search
Class MessageIDTerm
- Serializable
public final class MessageIDTerm
A comparison for the RFC822 "Message-Id", a string message identifier
for Internet messages that is supposed to be unique per message.
boolean | equals(Object other)
|
boolean | match(Message msg) - Returns true if the given message's Message-Id matches the
Message-Id specified in this term.
|
MessageIDTerm
public MessageIDTerm(String msgid)
Constructor.
msgid
- the Message-Id to search for
match
public boolean match(Message msg)
Returns true if the given message's Message-Id matches the
Message-Id specified in this term.
- match in interface SearchTerm
© Copyright 2003, 2004
The Free Software Foundation, All rights reserved