|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectSK.gnome.dwarf.mail.store.search.SearchKey
SK.gnome.dwarf.mail.store.search.NotKey
This key modifies the value returned by the given key to its logical opposit.
| Field Summary | |
protected SearchKey |
key
The modified key. |
| Fields inherited from class SK.gnome.dwarf.mail.store.search.SearchKey |
type |
| Constructor Summary | |
NotKey(SearchKey key)
Creates a new NotKey. |
|
| Method Summary | |
SearchKey |
getKey()
Returns the modified key. |
boolean |
match(MailMessage message)
Matches the given message. |
java.lang.String |
toString()
Returns the string represenation of the key. |
| Methods inherited from class SK.gnome.dwarf.mail.store.search.SearchKey |
addError, clearErrors, getErrors, getType, hasError |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected SearchKey key
| Constructor Detail |
public NotKey(SearchKey key)
key - the modified key| Method Detail |
public SearchKey getKey()
public boolean match(MailMessage message)
throws MailException
It returns the value of key's match method modified with the logical
NOT operator.
match in class SearchKeymessage - the searched message
MailException - if an error occurspublic java.lang.String toString()
SearchKey
toString in class SearchKey
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||