public BoxRequestsFile . DownloadFile getDownloadRequest ( OutputStream outputStream , String fileId ) { BoxRequestsFile . DownloadFile request = new BoxRequestsFile . DownloadFile ( fileId , outputStream , getFileDownloadUrl ( fileId ) , mSession ) ; return request ; }
Gets a request that downloads the given file to the provided outputStream . Developer is responsible for closing the outputStream provided .