public class SearchSequence extends Object
Constructor and Description |
---|
SearchSequence() |
Modifier and Type | Method and Description |
---|---|
protected Argument |
and(AndTerm term,
String charset) |
protected Argument |
body(BodyTerm term,
String charset) |
protected Argument |
flag(FlagTerm term) |
protected Argument |
from(String address,
String charset) |
Argument |
generateSequence(SearchTerm term,
String charset)
Generate the IMAP search sequence for the given search expression.
|
protected Argument |
header(HeaderTerm term,
String charset) |
static boolean |
isAscii(SearchTerm term) |
static boolean |
isAscii(String s)
Does this string contain only ASCII characters?
|
protected Argument |
messageid(MessageIDTerm term,
String charset) |
protected Argument |
not(NotTerm term,
String charset) |
protected Argument |
or(OrTerm term,
String charset) |
protected Argument |
receiveddate(DateTerm term) |
protected Argument |
recipient(Message.RecipientType type,
String address,
String charset) |
protected Argument |
sentdate(DateTerm term) |
protected Argument |
size(SizeTerm term) |
protected Argument |
subject(SubjectTerm term,
String charset) |
protected String |
toIMAPDate(Date date) |
protected Calendar cal
public Argument generateSequence(SearchTerm term, String charset) throws SearchException, IOException
SearchException
IOException
public static boolean isAscii(SearchTerm term)
public static boolean isAscii(String s)
protected Argument and(AndTerm term, String charset) throws SearchException, IOException
SearchException
IOException
protected Argument or(OrTerm term, String charset) throws SearchException, IOException
SearchException
IOException
protected Argument not(NotTerm term, String charset) throws SearchException, IOException
SearchException
IOException
protected Argument header(HeaderTerm term, String charset) throws SearchException, IOException
SearchException
IOException
protected Argument messageid(MessageIDTerm term, String charset) throws SearchException, IOException
SearchException
IOException
protected Argument flag(FlagTerm term) throws SearchException
SearchException
protected Argument from(String address, String charset) throws SearchException, IOException
SearchException
IOException
protected Argument recipient(Message.RecipientType type, String address, String charset) throws SearchException, IOException
SearchException
IOException
protected Argument subject(SubjectTerm term, String charset) throws SearchException, IOException
SearchException
IOException
protected Argument body(BodyTerm term, String charset) throws SearchException, IOException
SearchException
IOException
protected Argument size(SizeTerm term) throws SearchException
SearchException
protected Argument sentdate(DateTerm term) throws SearchException
SearchException
protected Argument receiveddate(DateTerm term) throws SearchException
SearchException
Copyright © 2015 Oracle. All Rights Reserved.