|
||||||||||
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.DateKey SK.gnome.dwarf.mail.store.search.InternalDateKey
This key matches the given date/time and the internal message date/time.
Field Summary |
Fields inherited from class SK.gnome.dwarf.mail.store.search.DateKey |
BEFORE, ON, SINCE, time |
Fields inherited from class SK.gnome.dwarf.mail.store.search.SearchKey |
type |
Constructor Summary | |
InternalDateKey(int type,
long time)
Creates a new InternalDateKey. |
Method Summary | |
protected long |
getTime(MailMessage message)
Returns the date/time from the given message. |
Methods inherited from class SK.gnome.dwarf.mail.store.search.DateKey |
getTime, match, toString |
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 |
Constructor Detail |
public InternalDateKey(int type, long time)
type
- the key typetime
- the matched timeMethod Detail |
protected long getTime(MailMessage message) throws MailException
It returns value obtained from the message's getInternalDate() method.
getTime
in class DateKey
message
- the searched message
MailException
- if an error occured
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |