把file_Name的后缀改为.doc,
把读出来的字节写入文件
然后打开文件
File f = new File(k.getFilememoryinfo());
BufferedInputStream bos = new BufferedInputStream(
new FileInputStream(f));
int i = 0;
while ((i = bos.read()) != -1) {
outStream.write(i);
}
bos.close();
outStream.flush();
outStream.close();
1、一个jacob操作Word的例子,其他操作excel,pdf的sample里都有
http://java.ccidnet.com/art/3749/20080226/1371835_1.html
嗯,研究研究