* java.lang.String)
*/
public void createFolder(Endpoint endpoint, String folderName) {
//https://api.dropbox.com/<version>/fileops/create_folder
try {
DropboxService svc = (DropboxService)createClientService(endpoint, ExtLibUtil.concatPath(getDropBoxApiVersion(endpoint), "fileops/create_folder", '/'));
HashMap<String, String> params = new HashMap<String, String>();
params.put("root", "dropbox");
params.put("path", folderName);
svc.post(getDropBoxApiVersion(endpoint)+"/fileops/create_folder", params,null);
} catch (ClientServicesException e) {
throw new FacesExceptionEx(e, "Failed to create folder named \'{0}\'", folderName);
}
}