Interface ProgressCallback

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ProgressCallback
Callback for reporting progress during large Excel/CSV writes.

Invoked every N rows as configured via onProgress(interval, callback).

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onProgress(long processedRows, Cursor cursor)
    Called when the specified number of rows have been processed.
  • Method Details

    • onProgress

      void onProgress(long processedRows, Cursor cursor)
      Called when the specified number of rows have been processed.
      Parameters:
      processedRows - total number of rows written so far (across all sheets)
      cursor - the current cursor position