Skip to content

Support for Case-Insensitive Matching in @ExcelColumnName Annotations #327

@jmrsnt

Description

@jmrsnt

It would be a valuable enhancement to add support for case-insensitive column name matching in the @ExcelColumnName annotation. This feature could be implemented through an optional parameter, such as ignoreCase, with a default value of false.

When ignoreCase is set to true, the library would match column names in a case-insensitive manner, allowing for greater flexibility when working with Excel sheets where column headers may not exactly match the case defined in the @ExcelColumnName annotation.

Example Usage:

@ExcelColumnName(value = "ColumnName", ignoreCase = true)
private String someField;

In this example, the column header could be ColumnName, columnname, COLUMNNAME, or any other case variation.

This feature would simplify integration and improve usability, especially in scenarios where column headers may not have a consistent case across different Excel files.

If this enhancement makes sense for the project, I would be happy to work on its implementation and submit a pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions