code: private void report(I_CmsReport report, int counter, int resCount, CmsResource resource) {
  
          // report entries
          report.print(
              org.opencms.report.Messages.get().container(
                  org.opencms.report.Messages.RPT_SUCCESSION_2,
                  String.valueOf(counter),
                  String.valueOf(resCount)),
              I_CmsReport.FORMAT_NOTE);
          report.print(
              org.opencms.report.Messages.get().container(
                  org.opencms.report.Messages.RPT_ARGUMENT_1,
                  report.removeSiteRoot(resource.getRootPath())));
          report.print(
              org.opencms.report.Messages.get().container(org.opencms.report.Messages.RPT_DOTS_0),
              I_CmsReport.FORMAT_DEFAULT);
      }
docs: Reads the content as byte array of the given resource and prints a message to the report.<p>
  
  @param report the report
  @param counter the counter
  @param resCount the total resource count
  @param resource the file to get the content for