2014年06月8日 | Wizzer | 评论 HSSFWorkbook wb = new HSSFWorkbook(); OutputStream out = new FileOutputStream(“x.xls”); wb.write(out); out.close(); return new File(“x.xls”); ByteArrayOutputStream out = new ……..;wb………out.close();ByteArrayInputStream in = new ………..(out.toByte…);return in; 1,086 total views, 1 views today