public final class MessageIDTerm extends StringTerm
The MessageId is represented as a String.
ignoreCase, pattern
Constructor and Description |
---|
MessageIDTerm(String msgid)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Equality comparison.
|
boolean |
match(Message msg)
The match method.
|
getIgnoreCase, getPattern, hashCode, match
public MessageIDTerm(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(Object obj)
equals
in class StringTerm
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.