private void handle() throws FileNotFoundException, IOException {
		String ext = FileUtil.getExtensionName(file.getName());
		Ioperate operate = null;
		if (FILE_TYPE_XLSX.equalsIgnoreCase(ext)) {// 2007 2010
			wb = new XSSFWorkbook(new FileInputStream(file));
			log.debug("file is 2007+");
			operate = new handleXSSF();
		} else if (FILE_TYPE_XLS.equalsIgnoreCase(ext)) {// 2003 HSSFWorkbook
			wb = new HSSFWorkbook(new FileInputStream(file));
			log.debug("file is 2003");
			operate = new handleHSSF();
		} else {
			log.info("文件不需要处理");
			return;
		}
		int iSheetNum = wb.getNumberOfSheets() >= 1 ? 1 : 1;

		log.debug("file has sheets " + iSheetNum);
		CourseBean course = new CourseBean();
		for (int i = 0; i < iSheetNum; i++) {
			Sheet sheet = wb.getSheetAt(i);
			int totalRows = sheet.getLastRowNum();
			log.debug(i + " sheet has rows : " + totalRows);
			if (totalRows > 0) {
				for (int r = 0; r < totalRows; r++) {
					Row row = sheet.getRow(r);
					if (operate.isEndPoint(row)) {
						break;
					}
					operate.handle(row, course);
				}
			}
		}
		CollectData cd = CollectData.getSyncSingle();
		cd.add(course);
		log.info("over");
		
		printfData();
	}