本文介绍了如何使用雅加达POI读取MS Word文件的内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经包括雅加达-POI-1.5.1-最终20020615.jar文件读取MS Word中的内容。
I've included jakarta-poi-1.5.1-final-20020615.jar file to read content from ms word.
我无法做到这一点...谁能帮助我?
I am unable to do this ...can anyone help me?
推荐答案
您需要移动到POI的新版本 - 你在一个是关于9岁!下载最新版本的POI(这只是Apache的POI现在,一直没有Apache Jakarta的POI现在几年),你会想无论是3.7还是最终测试版3.8 2作为写作。
You need to move to a newer version of POI - the one you're on is about 9 years old! Grab the latest version of POI (it's just Apache POI now, hasn't been Apache Jakarta POI for a few years now), you'll want either 3.7 Final or 3.8 beta 2 as of writing.
然后,必须通过读,你应该是好去
Then, have a read through the HWPF docs and you should be good to go.
这篇关于如何使用雅加达POI读取MS Word文件的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!