Open Microsoft Word docx file with Java

后端 未结 6 1898
灰色年华
灰色年华 2021-01-20 15:46

How can I open a Microsoft Word docx file in Java? furthermore, how can I open it if it is password protected?

For instance,

File f = new File(\"hell         


        
6条回答
  •  难免孤独
    2021-01-20 16:28

    I haven't personally used it, but it looks like Apache POI will work for you: http://poi.apache.org/

提交回复
热议问题