@Override
    public void invokeHead(Map<Integer, ReadCellData<?>> headMap, AnalysisContext context) {
        log.info("Parsed a header row: {}", JSON.toJSONString(headMap));
        // If you want to convert it to a Map<Integer, String>:
        // Solution 1: Do not implement ReadListener, but extend AnalysisEventListener.
        // Solution 2: Call ConverterUtils.convertToStringMap(headMap, context) to convert automatically.
    }
This method is called for each header row.

@param headMap The header data as a map.
@param context The analysis context.
fastexcel-test/src/test/java/cn/idev/excel/test/demo/read/DemoHeadDataListener.java