* @param remotePath the remote path where to download from
* @return a DropboxResult object with the content (ByteArrayOutputStream) of every files inside the remote path.
* @throws DropboxException
*/
public DropboxResult get(String remotePath) throws DropboxException {
DropboxResult result = new DropboxFileDownloadResult();
//a map representing for each path the result of the baos
Map<String, ByteArrayOutputStream> resultEntries = new HashMap<String, ByteArrayOutputStream>();
//iterate from the remotePath
downloadFilesInFolder(remotePath, resultEntries);
//put the map of baos as result
result.setResultEntries(resultEntries);
return result;
}