Java classes for .doc files

9 views
Skip to first unread message

neelam

unread,
Jan 26, 2009, 2:55:47 AM1/26/09
to SRKNEC SUN Club
i want to know which classes must be imported to work with .doc files
in java....i actually have to count the number of times each word
appears in such files....i have done it for .txt files using
StringTokenizer but its not working for .doc files

Vasusen Patil

unread,
Jan 27, 2009, 11:50:56 AM1/27/09
to srknec...@googlegroups.com
You will need to use an external api to do this. The apache poi api can is used by most programmers... Here's the link:

http://poi.apache.org/

Nikhil

unread,
Jan 27, 2009, 12:14:37 PM1/27/09
to srknec...@googlegroups.com
hmm...Apache POI is the most standard library for handling HSSF docs and worksheets. Also, it won't make your code bulky coz of its relatively small size.
Reply all
Reply to author
Forward
0 new messages