public final class

GmailMessageIDTerm

extends GmailSearchTerm
java.lang.Object
   ↳ com.google.code.javax.mail.search.SearchTerm
     ↳ com.google.code.javax.mail.search.GmailSearchTerm
       ↳ com.google.code.javax.mail.search.GmailMessageIDTerm

Summary

Constants
String searchAttribute
[Expand]
Inherited Constants
From class com.google.code.javax.mail.search.SearchTerm
[Expand]
Inherited Fields
From class com.google.code.javax.mail.search.GmailSearchTerm
Public Constructors
GmailMessageIDTerm(String gm_msgid)
Constructor.
Public Methods
boolean equals(Object obj)
Equality comparison.
String getSearchAttribute()
boolean match(Message msg)
The match method.
[Expand]
Inherited Methods
From class com.google.code.javax.mail.search.GmailSearchTerm
From class com.google.code.javax.mail.search.SearchTerm
From class java.lang.Object

Constants

protected static final String searchAttribute

Constant Value: "X-GM-MSGID"

Public Constructors

public GmailMessageIDTerm (String gm_msgid)

Constructor.

Parameters
gm_msgid The gm_msgid to search for

Public Methods

public boolean equals (Object obj)

Equality comparison.

Parameters
obj

public String getSearchAttribute ()

public boolean match (Message msg)

The match method.

Parameters
msg The match is applied to this Message's Message-ID header
Returns
  • true if the match succeeds, otherwise false