org.jeecgframework.poi.excel.imports.sax.SaxReadExcel Java Examples

The following examples show how to use org.jeecgframework.poi.excel.imports.sax.SaxReadExcel. 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: ExcelImportUtil.java    From autopoi with Apache License 2.0 2 votes vote down vote up
/**
 * Excel 通过SAX解析方法,适合大数据导入,不支持图片 导入 数据源IO流,不返回校验结果 导入 字段类型
 * Integer,Long,Double,Date,String,Boolean
 * 
 * @param inputstream
 * @param pojoClass
 * @param params
 * @return
 * @throws Exception
 */
public static <T> List<T> importExcelBySax(InputStream inputstream, Class<?> pojoClass, ImportParams params) {
	return new SaxReadExcel().readExcel(inputstream, pojoClass, params, null, null);
}
 
Example #2
Source File: ExcelImportUtil.java    From autopoi with Apache License 2.0 2 votes vote down vote up
/**
 * 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 #3
Source File: ExcelImportUtil.java    From autopoi with Apache License 2.0 2 votes vote down vote up
/**
 * Excel 通过SAX解析方法,适合大数据导入,不支持图片 导入 数据源IO流,不返回校验结果 导入 字段类型
 * Integer,Long,Double,Date,String,Boolean
 * 
 * @param file
 * @param rowRead
 * @return
 * @throws Exception
 */
public static <T> List<T> importExcelBySax(InputStream inputstream, ISaxRowRead rowRead) {
	return new SaxReadExcel().readExcel(inputstream, null, null, rowRead, null);
}
 
Example #4
Source File: ExcelImportUtil.java    From jeasypoi with Apache License 2.0 2 votes vote down vote up
/**
 * Excel 通过SAX解析方法,适合大数据导入,不支持图片 导入 数据源IO流,不返回校验结果 导入 字段类型
 * Integer,Long,Double,Date,String,Boolean
 * 
 * @param inputstream
 * @param pojoClass
 * @param params
 * @return
 * @throws Exception
 */
public static <T> List<T> importExcelBySax(InputStream inputstream, Class<?> pojoClass, ImportParams params) {
	return new SaxReadExcel().readExcel(inputstream, pojoClass, params, null, null);
}
 
Example #5
Source File: ExcelImportUtil.java    From jeasypoi with Apache License 2.0 2 votes vote down vote up
/**
 * 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 #6
Source File: ExcelImportUtil.java    From jeasypoi with Apache License 2.0 2 votes vote down vote up
/**
 * Excel 通过SAX解析方法,适合大数据导入,不支持图片 导入 数据源IO流,不返回校验结果 导入 字段类型
 * Integer,Long,Double,Date,String,Boolean
 * 
 * @param file
 * @param rowRead
 * @return
 * @throws Exception
 */
public static <T> List<T> importExcelBySax(InputStream inputstream, ISaxRowRead rowRead) {
	return new SaxReadExcel().readExcel(inputstream, null, null, rowRead, null);
}
 
Example #7
Source File: ExcelImportUtil.java    From easypoi with Apache License 2.0 2 votes vote down vote up
/**
 * Excel 通过SAX解析方法,适合大数据导入,不支持图片
 * 导入 数据源IO流,不返回校验结果 导入 字段类型 Integer,Long,Double,Date,String,Boolean
 * 
 * @param inputstream
 * @param pojoClass
 * @param params
 * @return
 * @throws Exception
 */
public static <T> List<T> importExcelBySax(InputStream inputstream, Class<?> pojoClass,
                                           ImportParams params) {
    return new SaxReadExcel().readExcel(inputstream, pojoClass, params, null, null);
}
 
Example #8
Source File: ExcelImportUtil.java    From easypoi with Apache License 2.0 2 votes vote down vote up
/**
 * 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 vote down vote up
/**
 * Excel 通过SAX解析方法,适合大数据导入,不支持图片
 * 导入 数据源IO流,不返回校验结果 导入 字段类型 Integer,Long,Double,Date,String,Boolean
 * 
 * @param file
 * @param rowRead
 * @return
 * @throws Exception
 */
public static <T> List<T> importExcelBySax(InputStream inputstream, ISaxRowRead rowRead) {
    return new SaxReadExcel().readExcel(inputstream, null, null, rowRead, null);
}