code: public BoxFile.Info uploadFile(InputStream fileContent, String name, long fileSize, ProgressListener listener) {
          FileUploadParams uploadInfo = new FileUploadParams()
                  .setContent(fileContent)
                  .setName(name)
                  .setSize(fileSize)
                  .setProgressListener(listener);
          return this.uploadFile(uploadInfo);
      }
docs: Uploads a new file to this folder while reporting the progress to a ProgressListener.
  
  @param fileContent a stream containing the contents of the file to upload.
  @param name        the name to give the uploaded file.
  @param fileSize    the size of the file used for determining the progress of the upload.
  @param listener    a listener for monitoring the upload's progress.
  @return the uploaded file's info.