85
Apache POI Creating MS Word
To create a new Microsoft word file, Apache POI provides XWPFDocument class. This class is used in Java program to handle the word document.
See, in this following example, we are creating a word file tutoraspire.docx.
Apache POI Creating MS Word Example
Output:
This example creates a .doc extension file having name tutoraspire.docx.
Next TopicApache POI Word Paragraph