File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes How to convert a .doc file to .txt file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "How to convert a .doc file to .txt file" Watch "How to convert a .doc file to .txt file" New topic

How to convert a .doc file to .txt file

R Karthick

Joined: Feb 11, 2008
Posts: 11
I have a .doc file which contains data inside a table. Now i want to parse the table to get the table values. Normal Parsing is not working for table( I mean using String tokenizer) because it is giving some unwanted special characters while parsing the table. So I just want to convert that .doc to .txt file, then only it is easy to split the values. But i can't make it! Can any one please tell me how to parse a MS WORD TABLE Values?
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Apache POI is the API you can use.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
  73 in particular tells you how to extract text from a Word document.
I agree. Here's the link:
subject: How to convert a .doc file to .txt file
It's not a secret anymore!