Interface DropboxAdapter
- All Known Implementing Classes:
DropboxV2
public interface DropboxAdapter
-
Method Summary
Modifier and TypeMethodDescriptionbooleanchangeWorkingDirectory(String path) voidbooleanconnect()booleanintbooleanmakeDirectory(String path) voidpruneFolder(String path, int pruneRootDays) voidsetTimeout(int timeout) voidstoreFile(String name, InputStream content, long length)
-
Method Details
-
setTimeout
void setTimeout(int timeout) -
getTimeout
int getTimeout() -
isConnected
boolean isConnected() -
connect
- Throws:
RestException
-
disconnect
boolean disconnect() -
makeDirectory
- Throws:
RestException
-
changeWorkingDirectory
- Throws:
RestException
-
storeFile
- Throws:
RestException
-
cleanWorkingFolder
- Throws:
RestException
-
pruneFolder
- Throws:
RestException
-