Package | Description |
---|---|
com.dropbox.core |
Modifier and Type | Method and Description |
---|---|
static DbxWriteMode |
DbxWriteMode.add()
Returns a
DbxWriteMode for adding new file. |
static DbxWriteMode |
DbxWriteMode.force()
Returns a
DbxWriteMode for forcing a file to be at a certain path. |
static DbxWriteMode |
DbxWriteMode.update(String revisionToReplace)
Returns a
DbxWriteMode for updating an existing file. |
Modifier and Type | Method and Description |
---|---|
DbxEntry.File |
DbxClient.chunkedUploadFinish(String targetPath,
DbxWriteMode writeMode,
String uploadId)
Creates a file in the user's Dropbox at the given path, with file data previously uploaded
via
DbxClient.chunkedUploadFirst(byte[]) and DbxClient.chunkedUploadAppend(java.lang.String, long, byte[]) . |
DbxClient.Uploader |
DbxClient.startUploadFile(String targetPath,
DbxWriteMode writeMode,
long numBytes)
Start an API request to upload a file to Dropbox.
|
DbxClient.Uploader |
DbxClient.startUploadFileChunked(int chunkSize,
String targetPath,
DbxWriteMode writeMode,
long numBytes)
Similar to
DbxClient.startUploadFile(java.lang.String, com.dropbox.core.DbxWriteMode, long) , except always uses the chunked upload API. |
DbxClient.Uploader |
DbxClient.startUploadFileChunked(String targetPath,
DbxWriteMode writeMode,
long numBytes)
Similar to
DbxClient.startUploadFile(java.lang.String, com.dropbox.core.DbxWriteMode, long) , except always uses the chunked upload API. |
DbxClient.Uploader |
DbxClient.startUploadFileSingle(String targetPath,
DbxWriteMode writeMode,
long numBytes)
Similar to
DbxClient.uploadFile(java.lang.String, com.dropbox.core.DbxWriteMode, long, java.io.InputStream) , except always uses the /files_put API call. |
<E extends Throwable> |
DbxClient.uploadFile(String targetPath,
DbxWriteMode writeMode,
long numBytes,
DbxStreamWriter<E> writer)
Upload file contents to Dropbox, getting contents from the given
DbxStreamWriter . |
DbxEntry.File |
DbxClient.uploadFile(String targetPath,
DbxWriteMode writeMode,
long numBytes,
InputStream contents)
A wrapper around
DbxClient.uploadFile(String, DbxWriteMode, long, DbxStreamWriter) that
lets you pass in an InputStream . |
<E extends Throwable> |
DbxClient.uploadFileChunked(int chunkSize,
String targetPath,
DbxWriteMode writeMode,
long numBytes,
DbxStreamWriter<E> writer)
Similar to
DbxClient.uploadFile(java.lang.String, com.dropbox.core.DbxWriteMode, long, java.io.InputStream) , except always uses the chunked upload API. |
<E extends Throwable> |
DbxClient.uploadFileChunked(String targetPath,
DbxWriteMode writeMode,
long numBytes,
DbxStreamWriter<E> writer)
Similar to
DbxClient.uploadFile(java.lang.String, com.dropbox.core.DbxWriteMode, long, java.io.InputStream) , except always uses the chunked upload API. |
<E extends Throwable> |
DbxClient.uploadFileSingle(String targetPath,
DbxWriteMode writeMode,
long numBytes,
DbxStreamWriter<E> writer) |
Copyright © 2014. All rights reserved.