/**
* Obtain a new instance of DbxClient and store it in configuration.
* @throws DropboxException
*/
public void createClient() throws DropboxException {
DbxRequestConfig config =
new DbxRequestConfig(clientIdentifier, Locale.getDefault().toString());
DbxClient client = new DbxClient(config, accessToken);
if (client == null) {
throw new DropboxException("can't establish a Dropbox conenction!");
}
this.client = client;