code: private static String getDataTemplate(int[] widths) {
          return IntStream.range(0, widths.length)
                  .mapToObj(i -> " %" + (i + 1) + "$" + widths[i] + "s  |")
                  .reduce((left, right) -> left + " " + right)
                  .orElse("");
      }
docs: Returns the data template given the widths specified
  
  @param widths the token widths
  @return the line format template