java.lang.Object
jakarta.mail.search.SearchTerm
jakarta.mail.search.StringTerm
org.eclipse.angus.mail.gimap.GmailRawSearchTerm
- All Implemented Interfaces:
Serializable
This class implements searching using the Gmail X-GM-RAW extension.
- Since:
- JavaMail 1.4.6
- See Also:
-
Field Summary
Fields inherited from class jakarta.mail.search.StringTerm
ignoreCase, pattern
-
Constructor Summary
-
Method Summary
Methods inherited from class jakarta.mail.search.StringTerm
getIgnoreCase, getPattern, hashCode, match
-
Constructor Details
-
GmailRawSearchTerm
Constructor.- Parameters:
pattern
- the pattern to search for
-
-
Method Details
-
match
The match method.- Specified by:
match
in classSearchTerm
- Parameters:
msg
- the pattern match is applied to this Message's subject header- Returns:
- true, it the match succeeds, false if the match fails
- Throws:
RuntimeException
- this can't be supported locally
-
equals
Equality comparison.- Overrides:
equals
in classStringTerm
-