hi friends, Can any one help me how to read MSWord files using IO Streams. When i have tried it is giving in binary format. I have used both byte and character streams. Thanks in advance ramesh
Mirko Froehlich
Ranch Hand
Joined: Aug 21, 2000
Posts: 114
posted
0
Ramesh, I am not sure I understand what exactly you are trying to do. MS Word uses a proprietary binary file format, so unless your application uses a special Java library to deal with Word files (if this exists, but I am pretty confident that it does), you won't be able to do anything with these files. -Mirko
Originally posted by Ramesh Rao: hi friends, Can any one help me how to read MSWord files using IO Streams. When i have tried it is giving in binary format. I have used both byte and character streams. Thanks in advance ramesh
Cindy Glass
"The Hood"
Sheriff
Joined: Sep 29, 2000
Posts: 8521
posted
0
Why don't you post this on a MicroSoft forum.
"JavaRanch, where the deer and the Certified play" - David O'Meara
Jim Yingst
Wanderer
Sheriff
Joined: Jan 30, 2000
Posts: 18670
posted
0
It occurs to me that (a) StarOffice is supposed to be able to read and edit MS Word files, and (b) the source code for StarOffice is freely available at www.openoffice.org. I don't know how easy it might be to find what you're looking for, but it seems like a good place to try. Good luck.
"I'm not back." - Bill Harding, Twister
Ramesh Rao
Greenhorn
Joined: Jan 23, 2001
Posts: 6
posted
0
Mirko Froehlich, Actually i am trying to extract data from word file and use it and use it for appending this text other files.
Jim, Thank u for giving for this information. i will try it and let u know.
Ramesh
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.