Interface StopCondition

All Superinterfaces:
Serializable
All Known Implementing Classes:
SheetRowNumberStopCondition

public interface StopCondition extends Serializable
A function that, given some information about a row, returns true if that row should not be extracted and furthermore that extraction of data from the sheet should stop upon seeing that row.

Defining a StopCondition is useful as a way to avoid excessive null-only rows in the output when Excel files can have many empty rows beneath the last row containing data.

Another common use case for a StopCondition is to avoid picking up irrelevant data when a table is located in a sheet containing other content beneath it.

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean