public class IMAPSearchExpression extends NativeObject
Constructor and Description |
---|
IMAPSearchExpression() |
Modifier and Type | Method and Description |
---|---|
static IMAPSearchExpression |
searchAll()
Returns search expression to return all emails.
|
static IMAPSearchExpression |
searchAnd(IMAPSearchExpression left,
IMAPSearchExpression right)
Returns search expression to return emails that match both expressions.
|
static IMAPSearchExpression |
searchAnswered()
Returns search expression to return answered emails.
|
static IMAPSearchExpression |
searchBcc(java.lang.String value)
Returns search expression to return emails matching the Bcc header.
|
static IMAPSearchExpression |
searchBeforeDate(java.util.Date date)
Returns search expression to return emails older than a specific date.
|
static IMAPSearchExpression |
searchBeforeReceivedDate(java.util.Date date)
Returns search expression to return emails with received date older than a specific date.
|
static IMAPSearchExpression |
searchBody(java.lang.String value)
Returns search expression to return emails matching the body.
|
static IMAPSearchExpression |
searchCc(java.lang.String value)
Returns search expression to return emails matching the Cc header.
|
static IMAPSearchExpression |
searchContent(java.lang.String value)
Returns search expression to return emails matching the content.
|
static IMAPSearchExpression |
searchDeleted()
Returns search expression to return emails marked as deleted.
|
static IMAPSearchExpression |
searchDraft()
Returns search expression to return drafts.
|
static IMAPSearchExpression |
searchFlagged()
Returns search expression to return flagged emails.
|
static IMAPSearchExpression |
searchFrom(java.lang.String value)
Returns search expression to return emails matching the From header.
|
static IMAPSearchExpression |
searchGmailMessageID(long number)
Returns search expression to return emails with a specific message identifier.
|
static IMAPSearchExpression |
searchGmailRaw(java.lang.String expr)
Returns search expression to return emails that match a Gmail search expression.
|
static IMAPSearchExpression |
searchGmailThreadID(long number)
Returns search expression to return emails with a specific thread identifier.
|
static IMAPSearchExpression |
searchHeader(java.lang.String header,
java.lang.String value)
Returns search expression to return emails matching a given header.
|
static IMAPSearchExpression |
searchNot(IMAPSearchExpression notExpr)
Returns search expression to return emails that don't match a given expression.
|
static IMAPSearchExpression |
searchOnDate(java.util.Date date)
Returns search expression to return emails that matches a specific date.
|
static IMAPSearchExpression |
searchOnReceivedDate(java.util.Date date)
Returns search expression to return emails with received date that matches a specific date.
|
static IMAPSearchExpression |
searchOr(IMAPSearchExpression left,
IMAPSearchExpression right)
Returns search expression to return emails that match one of the expressions.
|
static IMAPSearchExpression |
searchRead()
Returns search expression to return read emails.
|
static IMAPSearchExpression |
searchRecipient(java.lang.String value)
Returns search expression to return emails matching any recipient header.
|
static IMAPSearchExpression |
searchSinceDate(java.util.Date date)
Returns search expression to return emails more recent that a specific date.
|
static IMAPSearchExpression |
searchSinceReceivedDate(java.util.Date date)
Returns search expression to return emails with received date more recent than a specific date.
|
static IMAPSearchExpression |
searchSizeLarger(long size)
Returns search expression to return emails larger than a given size.
|
static IMAPSearchExpression |
searchSizeSmaller(long size)
Returns search expression to return emails smaller than a given size.
|
static IMAPSearchExpression |
searchSpam()
Returns search expression to return emails marked as spam.
|
static IMAPSearchExpression |
searchSubject(java.lang.String value)
Returns search expression to return emails matching the Subject header.
|
static IMAPSearchExpression |
searchTo(java.lang.String value)
Returns search expression to return emails matching the To header.
|
static IMAPSearchExpression |
searchUIDs(IndexSet uids)
Returns search expression to return emails matching a set of UIDs.
|
static IMAPSearchExpression |
searchUnanswered()
Returns search expression to return unanswered emails.
|
static IMAPSearchExpression |
searchUndraft()
Returns search expression to return undrafts.
|
static IMAPSearchExpression |
searchUnflagged()
Returns search expression to return unflagged emails.
|
static IMAPSearchExpression |
searchUnread()
Returns search expression to return unread emails.
|
clone, finalize, initWithNative, readObject, toString, writeObject
public static IMAPSearchExpression searchAll()
public static IMAPSearchExpression searchFrom(java.lang.String value)
public static IMAPSearchExpression searchTo(java.lang.String value)
public static IMAPSearchExpression searchCc(java.lang.String value)
public static IMAPSearchExpression searchBcc(java.lang.String value)
public static IMAPSearchExpression searchRecipient(java.lang.String value)
public static IMAPSearchExpression searchSubject(java.lang.String value)
public static IMAPSearchExpression searchContent(java.lang.String value)
public static IMAPSearchExpression searchBody(java.lang.String value)
public static IMAPSearchExpression searchHeader(java.lang.String header, java.lang.String value)
public static IMAPSearchExpression searchUIDs(IndexSet uids)
public static IMAPSearchExpression searchRead()
public static IMAPSearchExpression searchUnread()
public static IMAPSearchExpression searchFlagged()
public static IMAPSearchExpression searchUnflagged()
public static IMAPSearchExpression searchAnswered()
public static IMAPSearchExpression searchUnanswered()
public static IMAPSearchExpression searchDraft()
public static IMAPSearchExpression searchUndraft()
public static IMAPSearchExpression searchDeleted()
public static IMAPSearchExpression searchSpam()
public static IMAPSearchExpression searchBeforeDate(java.util.Date date)
public static IMAPSearchExpression searchOnDate(java.util.Date date)
public static IMAPSearchExpression searchSinceDate(java.util.Date date)
public static IMAPSearchExpression searchBeforeReceivedDate(java.util.Date date)
public static IMAPSearchExpression searchOnReceivedDate(java.util.Date date)
public static IMAPSearchExpression searchSinceReceivedDate(java.util.Date date)
public static IMAPSearchExpression searchSizeLarger(long size)
public static IMAPSearchExpression searchSizeSmaller(long size)
public static IMAPSearchExpression searchGmailThreadID(long number)
public static IMAPSearchExpression searchGmailMessageID(long number)
public static IMAPSearchExpression searchGmailRaw(java.lang.String expr)
public static IMAPSearchExpression searchAnd(IMAPSearchExpression left, IMAPSearchExpression right)
public static IMAPSearchExpression searchOr(IMAPSearchExpression left, IMAPSearchExpression right)
public static IMAPSearchExpression searchNot(IMAPSearchExpression notExpr)