apache 虚拟目录配置
2013-04-28 15:59
411 查看
Workbook rwb = null;WorkbookSettings workbookSettings = new WorkbookSettings();workbookSettings.setEncoding("GB2312");
try {rwb = Workbook.getWorkbook(is, workbookSettings);} catch (IOException e) {e.printStackTrace();} catch (BiffException e) {e.printStackTrace();}
log.info("开始导入数据.....");String inputTypeDimension = param.get("inputTypeDimension").toString();processXslFileMonth2(rwb,param);
Sheet rs[] = rwb.getSheets();if (rs == null && rs.length == 0)throw new AppException("数据为空!!");
try {for (int shc = 0; shc < rs.length; shc++) {outputcount_part = outputcount_part + getRightRows(rs[shc]);
if (getRightRows(rs[shc]) > 0) {outputcount_part = outputcount_part - 2;}
log.info("Sheet" + shc + "中有:" + getRightRows(rs[shc]) + "行");}
outputcount = outputcount_part;log.info("表格中一供有" + outputcount + "行");
for (int sh = 0; sh < rs.length; sh++) {sheet = rs[sh];
int rows = getRightRows(sheet);cols = sheet.getColumns();log.info("表格中一供有" + cols + "列");
String begin_date = param.get("begin_date").toString();String end_date = param.get("end_date").toString();
Powered by Zoundry
try {rwb = Workbook.getWorkbook(is, workbookSettings);} catch (IOException e) {e.printStackTrace();} catch (BiffException e) {e.printStackTrace();}
log.info("开始导入数据.....");String inputTypeDimension = param.get("inputTypeDimension").toString();processXslFileMonth2(rwb,param);
Sheet rs[] = rwb.getSheets();if (rs == null && rs.length == 0)throw new AppException("数据为空!!");
try {for (int shc = 0; shc < rs.length; shc++) {outputcount_part = outputcount_part + getRightRows(rs[shc]);
if (getRightRows(rs[shc]) > 0) {outputcount_part = outputcount_part - 2;}
log.info("Sheet" + shc + "中有:" + getRightRows(rs[shc]) + "行");}
outputcount = outputcount_part;log.info("表格中一供有" + outputcount + "行");
for (int sh = 0; sh < rs.length; sh++) {sheet = rs[sh];
int rows = getRightRows(sheet);cols = sheet.getColumns();log.info("表格中一供有" + cols + "列");
String begin_date = param.get("begin_date").toString();String end_date = param.get("end_date").toString();
Powered by Zoundry
相关文章推荐
- Apache 配置方法(虚拟目录,虚拟主机等)
- 1. Apache 配置虚拟目录
- apache配置虚拟目录
- Apache 2.2版本配置虚拟目录以及虚拟主机实例
- apache配置多端口对应多个虚拟目录
- Apache虚拟主机和虚拟目录的配置
- Apache虚拟主机和虚拟目录+tomcat集成的配置
- apache 配置虚拟目录权限问题
- Windows环境下Apache的安装与虚拟主机, 虚拟目录的配置
- apache虚拟目录配置实例
- apache2.4配置虚拟目录和虚拟主机
- apache配置--虚拟目录
- apache 配置虚拟目录
- (转)Apache安装常见配置(修改主目录、首页文件、建立虚拟主机等)
- Apache虚拟目录的配置
- Web服务基础三之Apache虚拟主机、虚拟目录配置
- apache中配置虚拟目录
- apache 配置虚拟目录
- apache配置虚拟目录
- Apache虚拟目录的配置