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
SearchExceptionIOExceptionpublic static boolean isAscii(SearchTerm term)
public static boolean isAscii(String s)
protected Argument and(AndTerm term, String charset) throws SearchException, IOException
SearchExceptionIOExceptionprotected Argument or(OrTerm term, String charset) throws SearchException, IOException
SearchExceptionIOExceptionprotected Argument not(NotTerm term, String charset) throws SearchException, IOException
SearchExceptionIOExceptionprotected Argument header(HeaderTerm term, String charset) throws SearchException, IOException
SearchExceptionIOExceptionprotected Argument messageid(MessageIDTerm term, String charset) throws SearchException, IOException
SearchExceptionIOExceptionprotected Argument flag(FlagTerm term) throws SearchException
SearchExceptionprotected Argument from(String address, String charset) throws SearchException, IOException
SearchExceptionIOExceptionprotected Argument recipient(Message.RecipientType type, String address, String charset) throws SearchException, IOException
SearchExceptionIOExceptionprotected Argument subject(SubjectTerm term, String charset) throws SearchException, IOException
SearchExceptionIOExceptionprotected Argument body(BodyTerm term, String charset) throws SearchException, IOException
SearchExceptionIOExceptionprotected Argument size(SizeTerm term) throws SearchException
SearchExceptionprotected Argument sentdate(DateTerm term) throws SearchException
SearchExceptionprotected Argument receiveddate(DateTerm term) throws SearchException
SearchExceptionCopyright © 2005–2017 Oracle Corporation. All rights reserved.