Interface MultilayerMergedHeaderExtractor

All Superinterfaces:
HeaderExtractor, Serializable

@Immutable public interface MultilayerMergedHeaderExtractor extends HeaderExtractor
A HeaderExtractor for extracting complex headers consisting of multiple rows with a hierarchy of merged cells.
  • Method Details

    • topLeftCellName

      String topLeftCellName()
      The top-left cell of the header.

      Example: "A1"

    • bottomRightCellName

      String bottomRightCellName()
      The bottom-right cell of the header.

      Example: "E3"

    • caseNormalizationOption

      @Default default CaseNormalizationOption caseNormalizationOption()
    • carryForward

      @Default default Boolean carryForward()
      Treat an empty cell as if it had the value of the previous non-empty cell in the row, even if it is not actually merged with that previous cell.
    • extractHeader

      default Optional<Header> extractHeader(org.apache.poi.ss.usermodel.Sheet sheet)
      Specified by:
      extractHeader in interface HeaderExtractor
    • builder

      Create a builder for constructing an instance of this class.