¡@

Home 

java Programming Glossary: hwpfdocument

How read Doc or Docx file in java? [closed]

http://stackoverflow.com/questions/7102511/how-read-doc-or-docx-file-in-java

try fs new POIFSFileSystem new FileInputStream fileName HWPFDocument doc new HWPFDocument fs Read the content readParagraphs doc.. new FileInputStream fileName HWPFDocument doc new HWPFDocument fs Read the content readParagraphs doc int pageNumber 1 We.. e e.printStackTrace public static void readParagraphs HWPFDocument doc throws Exception WordExtractor we new WordExtractor doc..