解析word文档的jar 看着别人都要资源分的感觉真难受 String result = ""; 16 try{ 17 FileInputStream fis = new FileInputStream(file); 18 HWPFDocument doc = new HWPFDocument(fis); 19 Range rang = doc.getRange(); 20 result += rang.text(); 21 fis.close(