Apache POI training

I am working on a project that requires manipulating an MS text document using Java. I found that Apache POI

is the best API for this. But I couldn't understand correctly the POI usage from this link . Also, I was not able to check the SVN source from here . Can anyone help me using POI or some sample code. Thank.

EDIT: Is it possible to modify an existing Word document and replace the seat owners with the text I want to use the POI?

+1


source to share


4 answers


1) You can download POI as .zip or .tar.gz file (WinZip must understand both formats) here .

2) A quick guide is here .



3) This quick guide points to unit tests that make a great code sample.

4) Here's another good howto (it's for Excel, but applicable to Word).

+13


source


You need to tackle the developer guide .



+8


source


Apache POI actually contains many APIs, each API provides the ability to work with a specific file. A guide for each API can be found in the Apache POI , you can see the list of APIs on the left that links to individual pages. You can find a quick guide in it.

Finally, you can simply download the source distribution from the download page.

+2


source


Try this site: http://www.roseindia.net/java/poi/

It contains code samples.

+1


source







All Articles