code: public static <T> List<T> handleWorkBookToBeans(Class<T> clazz, File file) throws ReadExcelException {
          List<T> beans = null;
          try {
              Workbook workbook = WorkbookFactory.create(file);
              beans = ReadExcelUtils.handleWorkBookToBeans(clazz, workbook);
              if (workbook != null) {
                  workbook.close();
              }
          } catch (Exception e) {
              throw new ReadExcelException(e.getMessage());
          }
          return beans;
      }
docs: 将指定Excel文件里的记录封装成指定类型放入List中返回
  
  @param clazz 指定封装类型
  @param file  指定Excel文件
  @return 无结果返回空List
  @throws ReadExcelException