java.io.Serializable
public final class MessageIDTerm extends StringTerm
The MessageId is represented as a String.
ignoreCase, pattern
Constructor | Description |
---|---|
MessageIDTerm(java.lang.String msgid) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object obj) |
Equality comparison.
|
boolean |
match(Message msg) |
The match method.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getIgnoreCase, getPattern, hashCode, match
public MessageIDTerm(java.lang.String msgid)
msgid
- the msgid to search forpublic boolean match(Message msg)
match
in class SearchTerm
msg
- the match is applied to this Message's
Message-ID headerpublic boolean equals(java.lang.Object obj)
equals
in class StringTerm
Copyright © 2018 Oracle. All rights reserved.