code: public static Map<Integer, ExcelHeader> getHeaderMap(Row titleRow, Class<?> clz)
              throws Excel4JException {
  
          List<ExcelHeader> headers = getHeaderList(clz);
          Map<Integer, ExcelHeader> maps = new HashMap<>();
          for (Cell c : titleRow) {
              String title = c.getStringCellValue();
              for (ExcelHeader eh : headers) {
                  if (eh.getTitle().equals(title.trim())) {
                      maps.put(c.getColumnIndex(), eh);
                      break;
                  }
              }
          }
          return maps;
      }
docs: 获取excel列表头
  
  @param titleRow excel行
  @param clz      类型
  @return ExcelHeader集合
  @throws Excel4JException 异常