Package com.sun.mail.imap
Class ModifiedSinceTerm
- java.lang.Object
 - 
- javax.mail.search.SearchTerm
 - 
- com.sun.mail.imap.ModifiedSinceTerm
 
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable
public final class ModifiedSinceTerm extends SearchTerm
Find messages that have been modified since a given MODSEQ value. Relies on the server implementing the CONDSTORE extension (RFC 4551).- Since:
 - JavaMail 1.5.1
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ModifiedSinceTerm(long modseq)Constructor. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Equality comparison.longgetModSeq()Return the modseq.inthashCode()Compute a hashCode for this object.booleanmatch(Message msg)The match method. 
 - 
 
- 
- 
Method Detail
- 
getModSeq
public long getModSeq()
Return the modseq.- Returns:
 - the modseq
 
 
- 
match
public boolean match(Message msg)
The match method.- Specified by:
 matchin classSearchTerm- Parameters:
 msg- the date comparator is applied to this Message's MODSEQ- Returns:
 - true if the comparison succeeds, otherwise false
 
 
- 
equals
public boolean equals(java.lang.Object obj)
Equality comparison.- Overrides:
 equalsin classjava.lang.Object
 
- 
hashCode
public int hashCode()
Compute a hashCode for this object.- Overrides:
 hashCodein classjava.lang.Object
 
 - 
 
 -