Package | Description |
---|---|
com.dropbox.core |
Modifier and Type | Field and Description |
---|---|
DbxEntry.File |
DbxClient.Downloader.metadata |
Modifier and Type | Field and Description |
---|---|
static JsonReader<DbxEntry.File> |
DbxEntry.File.Reader |
static JsonReader<DbxEntry.File> |
DbxEntry.File.ReaderMaybeDeleted |
Modifier and Type | Method and Description |
---|---|
abstract DbxEntry.File |
DbxEntry.asFile()
If this metadata entry is a file, return it as a
DbxEntry.File
instance. |
DbxEntry.File |
DbxEntry.Folder.asFile() |
DbxEntry.File |
DbxEntry.File.asFile() |
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[]) . |
abstract DbxEntry.File |
DbxClient.Uploader.finish()
When you're done writing the file contents to
DbxClient.Uploader.getBody() , call this
to indicate that you're done. |
<E extends Throwable> |
DbxClient.finishUploadFile(DbxClient.Uploader uploader,
DbxStreamWriter<E> writer) |
DbxEntry.File |
DbxClient.getFile(String path,
String rev,
OutputStream target)
Retrieves a file's content and writes it to the given
OutputStream . |
DbxEntry.File |
DbxClient.getThumbnail(DbxThumbnailSize sizeBound,
DbxThumbnailFormat format,
String path,
String rev,
OutputStream target)
Downloads a thumbnail for the image file at the given path in Dropbox.
|
DbxEntry.File |
DbxClient.restoreFile(String path,
String rev)
Takes a copy of the file at the given revision and saves it over the current latest copy.
|
<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) |
Modifier and Type | Method and Description |
---|---|
List<DbxEntry.File> |
DbxClient.getRevisions(String path)
Gets the metadata for the current and past revisions of a file (up to some limit) at
a given path.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DbxEntry.File.equals(DbxEntry.File o) |
Constructor and Description |
---|
DbxClient.Downloader(DbxEntry.File metadata,
InputStream body) |
Copyright © 2014. All rights reserved.