File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Java in General
Read a word document
Joined: Jul 26, 2006
Mar 22, 2007 23:40:00
I want t o read a word document and print the contents to console. But, when I do it as if I were doing it with text files, it displays some weird characters. Can anyone throw some light on how I should proceed?
Thanks in advance.
Joined: Mar 22, 2005
Mar 23, 2007 01:07:00
DOC is a binary file format; you can't treat it like you would treat text files. An API that can extract the text from a
is Jakarta POI; you can find some usage examples
subject: Read a word document
How to read MSWORD and MSEXCEL document
question on FileInputStream
Mearging two word documents using POI
Reading word document
need help to work with apache poi.hwpf
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015