code: public static List<String> getColumnOfSheet(Sheet sheet) throws ReadExcelException {
          // 获取列名
          Row row = sheet.getRow(1);
          if (row == null) {
              throw new ReadExcelException("The Column name is invalid！");
          }
          List<String> columnList = new ArrayList<String>();
          // 遍历列名并存入List中
          for (int i = 0; i < row.getLastCellNum(); i++) {
              Cell cell = row.getCell(i);
              if (cell != null) {
                  columnList.add(cell.getStringCellValue());
              }
          }
          return columnList;
      }
docs: 获取指定Sheet页的列名，列名必须在第1列，0-based
  
  @param sheet 指定Sheet页
  @return 返回List
  @throws ReadExcelException