Interface WriteRowCallback<T>

Type Parameters:
T - The type of the row data
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 WriteRowCallback<T>
A functional interface for consuming row data during Excel export.

Used as a callback during streaming write in ExcelWriter.write(java.util.stream.Stream, WriteRowCallback), typically for tracking, logging, progress, or collecting metadata.

Since:
2025-07-19
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(T rowData, Cursor cursor)
    Called for each row processed during the Excel writing process.
  • Method Details

    • accept

      void accept(T rowData, Cursor cursor)
      Called for each row processed during the Excel writing process.
      Parameters:
      rowData - The row data object
      cursor - The current cursor with row/sheet position information