String key
String secret
Make sure that this is kept a secret. Someone with your app secret can impesonate your application. People sometimes ask for help on the Dropbox API forums and copy/paste their code, which sometimes includes their app secret. Do not do that.
DbxHost host
DbxHost.Default
. This is only set differently for testing
purposes.String accessToken
DbxClient
constructor.String userId
String urlState
DbxWebAuth.start(java.lang.String)
. If you didn't pass anything
in, or you used DbxWebAuthNoRedirect
, this will be null
.DbxException underlying
String name
DbxEntry.path
. Derived automatically from DbxEntry.path
.DbxPath.getName(java.lang.String)
String path
"/"
.
For full-Dropbox apps, the path is relative to the root of the user's Dropbox. For App Folder apps, the path is relative to your application's App Folder within the user's Dropbox.
String iconName
/metadata
HTTP endpoint.boolean mightHaveThumbnail
DbxClient.getThumbnail
call.
If this is true
, there might be a thumbnail available. If this is
false
, there is definitely no thumbnail available.long numBytes
String humanSize
Locale
in DbxRequestConfig.userLocale
(passed in to the DbxClient
constructor).Date lastModified
DbxEntry.File.clientMtime
is a better estimate.)Date clientMtime
This field should not be used to determine if a file has changed, but only as a way to sort files by date (when displaying a list of files to the user).
String rev
DbxClient.uploadFile(java.lang.String, com.dropbox.core.DbxWriteMode, long, java.io.InputStream)
and the DbxWriteMode.update(java.lang.String)
mode to make sure you're overwriting the revision of
the file you think you're overwriting.DbxEntry entry
String hash
DbxEntry.WithChildren.entry
is a folder, this will contain a hash that identifies the folder's
contents. This value can be used with DbxClient.getMetadataWithChildrenIfChanged(java.lang.String, java.lang.String)
to void downloading the folder contents if they havne't changed.List<E> children
DbxEntry.WithChildren.entry
is a folder, this will contain the metadata of the folder's
immediate children. If it's not a folder, this will be null
.DbxEntry entry
String hash
DbxEntry.WithChildrenC.entry
is a folder, this will contain a hash that identifies the folder's
contents. This value can be used with DbxClient.getMetadataWithChildrenIfChanged(java.lang.String, java.lang.String)
to void downloading the folder contents if they havne't changed.Object children
DbxEntry.WithChildrenC.entry
is a folder, this will contain the metadata of the folder's
immediate children. If it's not a folder, this will be null
.IOException underlying
String api
String content
String web
IOException underlying
IOException reason
JsonReadException reason
String error
com.fasterxml.jackson.core.JsonLocation location
JsonReadException.PathPart path
IOException underlying
Copyright © 2014. All rights reserved.