|
||||||||||
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.DateHeaderKey
This key matches the given date/time and the "Date" message header value.
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 | |
DateHeaderKey(int type,
long time)
Creates a new DateHeaderKey. |
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 DateHeaderKey(int type, long time)
type
- the key typetime
- the matched timeMethod Detail |
protected long getTime(MailMessage message) throws MailException
It returns the date/time obtained from the "Date" message header.
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 |