|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dropbox.client2.DropboxAPI.DeltaPage<MD>
public static final class DropboxAPI.DeltaPage<MD>
A page of DeltaEntry
s (returned by delta
).
Field Summary | |
---|---|
java.lang.String |
cursor
A string that is used to keep track of your current state. |
java.util.List<DropboxAPI.DeltaEntry<MD>> |
entries
Apply these entries to your local state to catch up with the Dropbox server's state. |
boolean |
hasMore
If true , then there are more entries available; you can call delta again immediately to retrieve those entries. |
boolean |
reset
If true , then you should reset your local state to be an empty
folder before processing the list of delta entries. |
Constructor Summary | |
---|---|
DropboxAPI.DeltaPage(boolean reset,
java.util.List<DropboxAPI.DeltaEntry<MD>> entries,
java.lang.String cursor,
boolean hasMore)
|
Method Summary | ||
---|---|---|
static
|
extractFromJson(JsonThing j,
JsonExtractor<MD> entryExtractor)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final boolean reset
true
, then you should reset your local state to be an empty
folder before processing the list of delta entries. This is only true
in rare situations.
public final java.lang.String cursor
delta
, pass in this value to pick up where you left off.
public final java.util.List<DropboxAPI.DeltaEntry<MD>> entries
public final boolean hasMore
true
, then there are more entries available; you can call delta
again immediately to retrieve those entries. If false
,
then wait at least 5 minutes (preferably longer) before checking again.
Constructor Detail |
---|
public DropboxAPI.DeltaPage(boolean reset, java.util.List<DropboxAPI.DeltaEntry<MD>> entries, java.lang.String cursor, boolean hasMore)
Method Detail |
---|
public static <MD> DropboxAPI.DeltaPage<MD> extractFromJson(JsonThing j, JsonExtractor<MD> entryExtractor) throws JsonExtractionException
JsonExtractionException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |