Package com.dropbox.core.v1
Class DbxDelta.Entry<MD extends Dumpable>
java.lang.Object
com.dropbox.core.util.Dumpable
com.dropbox.core.v1.DbxDelta.Entry<MD>
- Type Parameters:
MD- The type of metadata being returned in the delta results.
A single "delta entry" in a
DbxDelta page.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDbxDelta.Entry.Reader<MD extends Dumpable>For JSON parsing. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.dropbox.core.util.Dumpable
getTypeName, toString, toString, toStringMultiline, toStringMultiline
-
Field Details
-
lcPath
The lower-cased path of the entry. Dropbox compares file paths in a case-insensitive manner. For example, an entry for"/readme.txt"should overwrite the entry for"/ReadMe.TXT".To get the original case-preserved path, look in the
metadatafield. -
metadata
If this isnull, it means that this path doesn't exist on on Dropbox's copy of the file system. To update your local state to match, delete whatever is at that path, including any children. If your local state doesn't have anything at this path, ignore this entry.If this is not
null, it means that Dropbox has a file/folder at this path with the given metadata. To update your local state to match, add the entry to your local state as well.- If the path refers to parent folders that don't exist yet in your local state, create those parent folders in your local state.
- If the metadata is for a file, replace whatever your local state has at that path with the new entry.
- If the metadata is for a folder, check what your local state has at the path. If it's a file, replace it with the new entry. If it's a folder, apply the new metadata to the folder, but do not modify the folder's children.
-
-
Constructor Details
-
Method Details
-
dumpFields
- Specified by:
dumpFieldsin classDumpable
-