public class ResyncData
extends java.lang.Object
ResyncData
is supplied to the
IMAPFolder open
method.
The CONDSTORE ResyncData
instance is used to enable the
CONDSTORE extension
(RFC 4551).
A ResyncData
instance with uidvalidity and modseq values
is used to enable the QRESYNC extension.Modifier and Type | Field and Description |
---|---|
static ResyncData |
CONDSTORE
Used to enable only the CONDSTORE extension.
|
Constructor and Description |
---|
ResyncData(long uidvalidity,
long modseq)
Used to report on changes since the specified modseq.
|
ResyncData(long uidvalidity,
long modseq,
long[] uids)
Used to limit the reported message changes to those with the
specified UIDs.
|
ResyncData(long uidvalidity,
long modseq,
long uidFirst,
long uidLast)
Used to limit the reported message changes to those with UIDs
in the specified range.
|
Modifier and Type | Method and Description |
---|---|
long |
getModSeq()
Get the MODSEQ value specified when this instance was created.
|
long |
getUIDValidity()
Get the UIDVALIDITY value specified when this instance was created.
|
public static final ResyncData CONDSTORE
public ResyncData(long uidvalidity, long modseq)
uidvalidity
- the UIDVALIDITYmodseq
- the MODSEQpublic ResyncData(long uidvalidity, long modseq, long uidFirst, long uidLast)
uidvalidity
- the UIDVALIDITYmodseq
- the MODSEQuidFirst
- the first UIDuidLast
- the last UIDpublic ResyncData(long uidvalidity, long modseq, long[] uids)
uidvalidity
- the UIDVALIDITYmodseq
- the MODSEQuids
- the UID valuesCopyright © 2010 - 2020 Adobe. All Rights Reserved