code: public static InputStream wrap(InputStream is, String task) {
          ProgressBarBuilder pbb = new ProgressBarBuilder().setTaskName(task).setInitialMax(Util.getInputStreamSize(is));
          return wrap(is, pbb);
      }
docs: Wraps an {@link InputStream} so that when read, a progress bar is shown to track the reading progress.
  @param is Input stream to be wrapped
  @param task Name of the progress