public final class

GmailLabelTerm

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.GmailLabelTerm

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
GmailLabelTerm(String gm_label)
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-LABELS"

Public Constructors

public GmailLabelTerm (String gm_label)

Constructor.

Parameters
gm_label

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