|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.openexchange.mail.search.SearchUtility
public final class SearchUtility
| Method Summary | |
|---|---|
static SearchTerm<?> |
parseFields(int[] searchFields,
java.lang.String[] patterns,
boolean linkWithOR)
Parses the fields and pattern received from UI into an appropriate instance of SearchTerm. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static SearchTerm<?> parseFields(int[] searchFields,
java.lang.String[] patterns,
boolean linkWithOR)
SearchTerm.
Currently the supported search fields by UI are limited to:
All other are mapped to an instance ofBodyTerm to search for certain pattern inside a mail's text body.
searchFields - The search fields as an array of intpatterns - The search patternslinkWithOR - Whether to link with a logical OR; otherwise to link with a logical AND
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||