| Modifier and Type | Field and Description |
|---|---|
| protected Calendar | |
| private static String[] | monthTable
Print an IMAP Date string, that is suitable for the Date SEARCH commands. |
| private IMAPProtocol |
| Access | Constructor and Description |
|---|---|
| public | SearchSequence(IMAPProtocol
the IMAPProtocol object for the server p)Create a SearchSequence for this IMAPProtocol. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Argument | |
| protected Argument | |
| protected Argument | |
| protected Argument | |
| public Argument | Returns: the SEARCH Argumentthe search term term, String charset for the search charset)Generate the IMAP search sequence for the given search expression. |
| protected Argument | |
| public static boolean | Returns: true if only ASCIIthe search term term)Check if the "text" terms in the given SearchTerm contain non US-ASCII characters. |
| public static boolean | Returns: true if only ASCIIthe search terms terms)Check if any of the "text" terms in the given SearchTerms contain non US-ASCII characters. |
| public static boolean | |
| protected Argument | |
| protected Argument | Returns: the SEARCH Argumentthe search term term)Generate argument for ModifiedSinceTerm. |
| protected Argument | |
| protected Argument | |
| protected Argument | |
| protected Argument | |
| protected Argument | |
| protected Argument | |
| protected Argument | |
| protected Argument | |
| protected String | |
| protected Argument | Returns: the SEARCH Argumentthe search term term)Generate argument for YoungerTerm. |
| cal | back to summary |
|---|---|
| protected Calendar cal | |
| monthTable | back to summary |
|---|---|
| private static String[] monthTable Print an IMAP Date string, that is suitable for the Date SEARCH commands. The IMAP Date string is : date ::= date_day "-" date_month "-" date_year Note that this format does not contain the TimeZone | |
| protocol | back to summary |
|---|---|
| private IMAPProtocol protocol | |
| SearchSequence | back to summary |
|---|---|
| public SearchSequence(IMAPProtocol p) Create a SearchSequence for this IMAPProtocol.
| |
| SearchSequence | back to summary |
|---|---|
| public SearchSequence()
Deprecated
Create a SearchSequence.
| |
| and | back to summary |
|---|---|
| protected Argument and(AndTerm term, String charset) throws SearchException, IOException | |
| body | back to summary |
|---|---|
| protected Argument body(BodyTerm term, String charset) throws SearchException, IOException | |
| flag | back to summary |
|---|---|
| protected Argument flag(FlagTerm term) throws SearchException | |
| from | back to summary |
|---|---|
| protected Argument from(String address, String charset) throws SearchException, IOException | |
| generateSequence | back to summary |
|---|---|
| public Argument generateSequence(SearchTerm term, String charset) throws SearchException, IOException Generate the IMAP search sequence for the given search expression.
| |
| header | back to summary |
|---|---|
| protected Argument header(HeaderTerm term, String charset) throws SearchException, IOException | |
| isAscii | back to summary |
|---|---|
| public static boolean isAscii(SearchTerm term) Check if the "text" terms in the given SearchTerm contain non US-ASCII characters.
| |
| isAscii | back to summary |
|---|---|
| public static boolean isAscii(SearchTerm[] terms) Check if any of the "text" terms in the given SearchTerms contain non US-ASCII characters.
| |
| isAscii | back to summary |
|---|---|
| public static boolean isAscii(String s) Does this string contain only ASCII characters?
| |
| messageid | back to summary |
|---|---|
| protected Argument messageid(MessageIDTerm term, String charset) throws SearchException, IOException | |
| modifiedSince | back to summary |
|---|---|
| protected Argument modifiedSince(ModifiedSinceTerm term) throws SearchException Generate argument for ModifiedSinceTerm.
| |
| not | back to summary |
|---|---|
| protected Argument not(NotTerm term, String charset) throws SearchException, IOException | |
| older | back to summary |
|---|---|
| protected Argument older(OlderTerm term) throws SearchException Generate argument for OlderTerm.
| |
| or | back to summary |
|---|---|
| protected Argument or(OrTerm term, String charset) throws SearchException, IOException | |
| receiveddate | back to summary |
|---|---|
| protected Argument receiveddate(DateTerm term) throws SearchException | |
| recipient | back to summary |
|---|---|
| protected Argument recipient(Message. | |
| sentdate | back to summary |
|---|---|
| protected Argument sentdate(DateTerm term) throws SearchException | |
| size | back to summary |
|---|---|
| protected Argument size(SizeTerm term) throws SearchException | |
| subject | back to summary |
|---|---|
| protected Argument subject(SubjectTerm term, String charset) throws SearchException, IOException | |
| toIMAPDate | back to summary |
|---|---|
| protected String toIMAPDate(Date date) | |
| younger | back to summary |
|---|---|
| protected Argument younger(YoungerTerm term) throws SearchException Generate argument for YoungerTerm.
| |