org.jeecgframework.poi.handler.inter.IExcelReadRowHanlder Java Examples
The following examples show how to use
org.jeecgframework.poi.handler.inter.IExcelReadRowHanlder.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SaxReadExcel.java From autopoi with Apache License 2.0 | 5 votes |
public <T> List<T> readExcel(InputStream inputstream, Class<?> pojoClass, ImportParams params, ISaxRowRead rowRead, IExcelReadRowHanlder hanlder) { try { OPCPackage opcPackage = OPCPackage.open(inputstream); return readExcel(opcPackage, pojoClass, params, rowRead, hanlder); } catch (Exception e) { LOGGER.error(e.getMessage(), e); throw new ExcelImportException(e.getMessage()); } }
Example #2
Source File: SaxRowRead.java From autopoi with Apache License 2.0 | 5 votes |
public SaxRowRead(Class<?> pojoClass, ImportParams params, IExcelReadRowHanlder hanlder) { list = Lists.newArrayList(); this.params = params; this.pojoClass = pojoClass; cellValueServer = new CellValueServer(); this.hanlder = hanlder; initParams(pojoClass, params); }
Example #3
Source File: SaxReadExcel.java From jeasypoi with Apache License 2.0 | 5 votes |
public <T> List<T> readExcel(InputStream inputstream, Class<?> pojoClass, ImportParams params, ISaxRowRead rowRead, IExcelReadRowHanlder hanlder) { try { OPCPackage opcPackage = OPCPackage.open(inputstream); return readExcel(opcPackage, pojoClass, params, rowRead, hanlder); } catch (Exception e) { LOGGER.error(e.getMessage(), e); throw new ExcelImportException(e.getMessage()); } }
Example #4
Source File: SaxRowRead.java From jeasypoi with Apache License 2.0 | 5 votes |
public SaxRowRead(Class<?> pojoClass, ImportParams params, IExcelReadRowHanlder hanlder) { list = Lists.newArrayList(); this.params = params; this.pojoClass = pojoClass; cellValueServer = new CellValueServer(); this.hanlder = hanlder; initParams(pojoClass, params); }
Example #5
Source File: SaxReadExcel.java From easypoi with Apache License 2.0 | 5 votes |
public <T> List<T> readExcel(InputStream inputstream, Class<?> pojoClass, ImportParams params, ISaxRowRead rowRead, IExcelReadRowHanlder hanlder) { try { OPCPackage opcPackage = OPCPackage.open(inputstream); return readExcel(opcPackage, pojoClass, params, rowRead, hanlder); } catch (Exception e) { LOGGER.error(e.getMessage(), e); throw new ExcelImportException(e.getMessage()); } }
Example #6
Source File: SaxRowRead.java From easypoi with Apache License 2.0 | 5 votes |
public SaxRowRead(Class<?> pojoClass, ImportParams params, IExcelReadRowHanlder hanlder) { list = Lists.newArrayList(); this.params = params; this.pojoClass = pojoClass; cellValueServer = new CellValueServer(); this.hanlder = hanlder; initParams(pojoClass, params); }
Example #7
Source File: ExcelImportUtil.java From autopoi with Apache License 2.0 | 2 votes |
/** * Excel 通过SAX解析方法,适合大数据导入,不支持图片 导入 数据源本地文件,不返回校验结果 导入 字 段类型 * Integer,Long,Double,Date,String,Boolean * * @param file * @param rowRead * @return * @throws Exception */ @SuppressWarnings("rawtypes") public static void importExcelBySax(InputStream inputstream, Class<?> pojoClass, ImportParams params, IExcelReadRowHanlder hanlder) { new SaxReadExcel().readExcel(inputstream, pojoClass, params, null, hanlder); }
Example #8
Source File: ExcelImportUtil.java From jeasypoi with Apache License 2.0 | 2 votes |
/** * Excel 通过SAX解析方法,适合大数据导入,不支持图片 导入 数据源本地文件,不返回校验结果 导入 字 段类型 * Integer,Long,Double,Date,String,Boolean * * @param file * @param rowRead * @return * @throws Exception */ @SuppressWarnings("rawtypes") public static void importExcelBySax(InputStream inputstream, Class<?> pojoClass, ImportParams params, IExcelReadRowHanlder hanlder) { new SaxReadExcel().readExcel(inputstream, pojoClass, params, null, hanlder); }
Example #9
Source File: ExcelImportUtil.java From easypoi with Apache License 2.0 | 2 votes |
/** * Excel 通过SAX解析方法,适合大数据导入,不支持图片 * 导入 数据源本地文件,不返回校验结果 导入 字 段类型 Integer,Long,Double,Date,String,Boolean * * @param file * @param rowRead * @return * @throws Exception */ @SuppressWarnings("rawtypes") public static void importExcelBySax(InputStream inputstream, Class<?> pojoClass, ImportParams params, IExcelReadRowHanlder hanlder) { new SaxReadExcel().readExcel(inputstream, pojoClass, params, null, hanlder); }