@Override
public void downloadFile(final String fileId, final OutputStream[] outputStreams, final IFileTransferListener listener,
final BoxDefaultRequestObject requestObject) throws BoxRestException, IOException, BoxServerException, InterruptedException, AuthFatalFailureException {
BoxFileDownload download = new BoxFileDownload(getConfig(), getRestClient(), fileId);
download.setProgressListener(listener);
download.execute(getAuth(), outputStreams, getJSONParser(), requestObject);
}
@Override
public BoxFile uploadNewVersion(final String fileId, final BoxFileUploadRequestObject requestObject) throws BoxRestException, BoxServerException,
AuthFatalFailureException, InterruptedException {