public final class GmailRawSearchTerm extends StringTerm
ignoreCase, pattern
Constructor and Description |
---|
GmailRawSearchTerm(String pattern)
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 GmailRawSearchTerm(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 headerRuntimeException
- this can't be supported locallypublic boolean equals(Object obj)
equals
in class StringTerm
Copyright © 1996-2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.