com.dropbox.client2
Class DropboxAPI.DeltaEntry<MD>

java.lang.Object
  extended by com.dropbox.client2.DropboxAPI.DeltaEntry<MD>
Enclosing class:
DropboxAPI<SESS_T extends Session>

public static final class DropboxAPI.DeltaEntry<MD>
extends java.lang.Object

A single entry in a DeltaPage.


Nested Class Summary
static class DropboxAPI.DeltaEntry.JsonExtractor<MD>
           
 
Field Summary
 java.lang.String lcPath
          The lower-cased path of the entry.
 MD metadata
          If this is null, it means that this path doesn't exist on on Dropbox's copy of the file system.
 
Constructor Summary
DropboxAPI.DeltaEntry(java.lang.String lcPath, MD metadata)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lcPath

public final java.lang.String 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 metadata field.


metadata

public final MD metadata
If this is null, 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.

Constructor Detail

DropboxAPI.DeltaEntry

public DropboxAPI.DeltaEntry(java.lang.String lcPath,
                             MD metadata)