Package com.sun.mail.gimap
Class GmailThrIdTerm
- java.lang.Object
-
- javax.mail.search.SearchTerm
-
- com.sun.mail.gimap.LongTerm
-
- com.sun.mail.gimap.GmailThrIdTerm
-
- All Implemented Interfaces:
java.io.Serializable
public final class GmailThrIdTerm extends LongTerm
This class implements searching for the Gmail thread ID.- Since:
- JavaMail 1.4.6
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description GmailThrIdTerm(long thrId)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Equality comparison.boolean
match(Message msg)
The match method.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
match
public boolean match(Message msg)
The match method.- Specified by:
match
in classSearchTerm
- Parameters:
msg
- the Message number is matched with this Message- Returns:
- true if the match succeeds, otherwise false
-
-