Search in sources :

Example 1 with DbxClient

use of com.dropbox.core.DbxClient in project camel by apache.

the class DropboxConfiguration method createClient.

/**
     * Obtain a new instance of DbxClient and store it in configuration.
     */
public void createClient() {
    DbxRequestConfig config = new DbxRequestConfig(clientIdentifier, Locale.getDefault().toString());
    this.client = new DbxClient(config, accessToken);
}
Also used : DbxClient(com.dropbox.core.DbxClient) DbxRequestConfig(com.dropbox.core.DbxRequestConfig)

Aggregations

DbxClient (com.dropbox.core.DbxClient)1 DbxRequestConfig (com.dropbox.core.DbxRequestConfig)1