java.io.Serializable
public final class GmailRawSearchTerm extends StringTerm
ignoreCase, pattern
Constructor | Description |
---|---|
GmailRawSearchTerm(java.lang.String pattern) |
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 GmailRawSearchTerm(java.lang.String pattern)
pattern
- the pattern to search forpublic boolean match(Message msg)
match
in class SearchTerm
msg
- the pattern match is applied to this Message's
subject headerjava.lang.RuntimeException
- this can't be supported locallypublic boolean equals(java.lang.Object obj)
equals
in class StringTerm
Copyright © 2018 Oracle. All rights reserved.