public final class MessageIDTerm extends StringTerm
ignoreCase, pattern
Constructor and Description |
---|
MessageIDTerm(java.lang.String msgid)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
boolean |
match(Message msg)
Returns true if the given message's Message-Id matches the
Message-Id specified in this term.
|
getIgnoreCase, getPattern, hashCode, match
public MessageIDTerm(java.lang.String msgid)
msgid
- the Message-Id to search forpublic boolean match(Message msg)
match
in class SearchTerm
public boolean equals(java.lang.Object other)
equals
in class StringTerm