自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(0)
  • 资源 (3)
  • 收藏
  • 关注

空空如也

CamelinAction.pdf

Camel in Action书的内容讲的非常不错,很全面

2016-09-13

Spring Integration in Action

Spring Integration in Action pdf 文档

2016-09-13

java处理execl表格源码

本作品为一个公司出路考勤表的程序 JFileChooser chooser1 = new JFileChooser(); int state = chooser1.showOpenDialog(null); chooser1.show(); String filepath=null; boolean flag = true; if (chooser1.getSelectedFile() != null && state == JFileChooser.APPROVE_OPTION) { filepath = chooser1.getSelectedFile().getAbsolutePath(); WritableWorkbook info = null; WritableSheet sheet = null; Label c = null; try { File f = new File(filepath+".xls"); f.exists(); info = Workbook.createWorkbook(f); sheet = info.createSheet("ok", 0); int size = l.size(); for (int i = 0; i < size; i++) { String[] msg = l.get(i).toString().split(","); c = new Label(0, i, msg[0]); sheet.addCell(c); c = new Label(1, i, msg[1]); sheet.addCell(c); c = new Label(2, i, msg[2]); sheet.addCell(c); c = new Label(3, i, msg[4]); sheet.addCell(c); c = new Label(4, i, msg[5]); sheet.addCell(c); System.out.println(i+1); if(i+2>size) { break; } String[] msg1 = l.get(i+1).toString().split(","); c = new Label(5, i++,msg1[5]); sheet.addCell(c); } info.write(); } catch (Exception ex) { flag = false; ex.printStackTrace(); } finally { try { if (info != null) { info.close(); } } catch (Exception exx) { }

2009-08-14

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除