|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object SK.gnome.dwarf.mail.store.search.SearchKey SK.gnome.dwarf.mail.store.search.SequenceKey
This key matches the given sequence set and the actual message number or UID.
Field Summary | |
protected SequenceSet |
sequence
The matched sequence set. |
Fields inherited from class SK.gnome.dwarf.mail.store.search.SearchKey |
type |
Constructor Summary | |
SequenceKey(SequenceSet sequence)
Creates a new SequenceKey. |
Method Summary | |
SequenceSet |
getSequenceSet()
Returns the matched sequence set. |
boolean |
match(MailMessage message)
Matches the given sequence set and the actual message number or UID. |
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 SequenceSet sequence
Constructor Detail |
public SequenceKey(SequenceSet sequence)
sequence
- the matched sequence setMethod Detail |
public SequenceSet getSequenceSet()
public boolean match(MailMessage message) throws MailException
match
in class SearchKey
message
- 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 |