public class SearchSequence
extends java.lang.Object
Constructor and Description |
---|
SearchSequence()
Deprecated.
|
SearchSequence(IMAPProtocol p)
Create a SearchSequence for this IMAPProtocol.
|
Modifier and Type | Method and Description |
---|---|
Argument |
generateSequence(SearchTerm term,
java.lang.String charset)
Generate the IMAP search sequence for the given search expression.
|
static boolean |
isAscii(SearchTerm term)
Check if the "text" terms in the given SearchTerm contain
non US-ASCII characters.
|
static boolean |
isAscii(SearchTerm[] terms)
Check if any of the "text" terms in the given SearchTerms contain
non US-ASCII characters.
|
static boolean |
isAscii(java.lang.String s)
Does this string contain only ASCII characters?
|
public SearchSequence(IMAPProtocol p)
p
- the IMAPProtocol object for the server@Deprecated public SearchSequence()
public Argument generateSequence(SearchTerm term, java.lang.String charset) throws SearchException, java.io.IOException
term
- the search termcharset
- charset for the searchSearchException
- for failuresjava.io.IOException
- for I/O errorspublic static boolean isAscii(SearchTerm term)
term
- the search termpublic static boolean isAscii(SearchTerm[] terms)
terms
- the search termspublic static boolean isAscii(java.lang.String s)
s
- the stringCopyright © 2010 - 2020 Adobe. All Rights Reserved