Javatpoint Logo
Javatpoint Logo

Apache POI Extract Text

To extract the text from the word document, XWPFWordExtractor class provides a method getText(). This method get all the text from the document.

It is useful method which can be used in Java program to read the data.

Lets see an example in which we are extracting text from a doc file.

Apache POI Extract Text Example


Apache POI Extract Text


Apache POI (Poor Obfuscation Implementation) is a project design and developed by Apache 
Software Foundation. It is a collection of pure Java libraries, used to read and write 
Microsoft office files such as Word, PowerPoint etc.

Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA