|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SearchTerm<T>
SearchTerm - A search term.
| Method Summary | |
|---|---|
void |
addMessagingField(java.util.Collection<MessagingField> col)
Adds the addressed MailField to specified collection. |
T |
getPattern()
Gets the pattern to which the expression should match. |
boolean |
matches(MessagingMessage msg)
Checks if given message matches this search term. |
| Method Detail |
|---|
T getPattern()
void addMessagingField(java.util.Collection<MessagingField> col)
col - The collection which gathers addressed fields
boolean matches(MessagingMessage msg)
throws MessagingException
msg - The message to check
true if message matches this search term; otherwise false
MessagingException - If check fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||