public interface DropboxAdapter
| Modifier and Type | Method and Description |
|---|---|
boolean |
changeWorkingDirectory(String path) |
void |
cleanWorkingFolder() |
boolean |
connect() |
boolean |
disconnect() |
int |
getTimeout() |
boolean |
isConnected() |
FolderMetadata |
makeDirectory(String path) |
void |
pruneFolder(String path,
int pruneRootDays) |
void |
setTimeout(int timeout) |
void |
storeFile(String name,
InputStream content,
long length) |
void setTimeout(int timeout)
int getTimeout()
boolean isConnected()
boolean connect()
throws RestException
RestExceptionboolean disconnect()
FolderMetadata makeDirectory(String path) throws RestException
RestExceptionboolean changeWorkingDirectory(String path) throws RestException
RestExceptionvoid storeFile(String name, InputStream content, long length) throws RestException
RestExceptionvoid cleanWorkingFolder()
throws RestException
RestExceptionvoid pruneFolder(String path, int pruneRootDays) throws RestException
RestExceptionCopyright © 2016–2021. All rights reserved.