Solved

POI jakarta project

Posted on 2004-10-11
5
383 Views
Last Modified: 2007-12-19
Hello people,


I have used the Jakarta POI in order to read Excel files.
Now I want to read Word files.

My problem is that I haven't seen any examples as I have found for the Excel.
Does anybody have used it ? Any examples please. Just reading some lines from a word file


I have seen the following at the Jakarta's page:
<i>"HWPF is the name of OUR port of the Microsoft Word 97(-2002) file format to pure Java.

HWPF is still in early development. It is in the scratchpad section of the CVS. Source code in the org.apache.poi.hwpf.extractor tree is legacy code. Source in the org.apache.poi.hwpf.model tree is the old legacy code refactored into an object model. Check the How-To page for detailed examples on using HWPF.

We are looking for developers!!! If you are interested in helping with HWPF familiarize yourself with the source code and just start coding. Make sure you read the guidelines for getting involved "</i>

Does this means that it is not ready ?
Any help please ???
Thank you in advance

0
Comment
Question by:pouli
  • 3
  • 2
5 Comments
 
LVL 8

Accepted Solution

by:
kiranhk earned 50 total points
ID: 12278368
Hi,
did you check out Textmining.org. they have got api for working with MS Word.
havent tested it though.


http://www.textmining.org/modules.php?op=modload&name=News&file=article&sid=8&mode=thread&order=0&thold=0&POSTNUKESID=d8ce3ce4b0f4ea9a5b772c41b59e8327


Kiran
0
 

Author Comment

by:pouli
ID: 12278388
Kiran thank u lot for your help.
I will check it straight away.

But does this mean that the POI is not ready yet to read/write to Word docs ?

I think that the basic ability to read write is there. Am I wrong?

Anyone ?
0
 
LVL 8

Expert Comment

by:kiranhk
ID: 12278528
you can use POI but it is not fully Stabilized API. so u can download all the files build it and jar it and use it but it is not guarnteed to run in full form and there is also no guarntee that the api will remain the same since it is still in the  Scratch pad version where they r just testing it out thoroughly and also working on developing it.

Kiran
0
 

Author Comment

by:pouli
ID: 12278539
Kiran text mining will do my work.

And pretty quick with just 3 lines of code.

Thank you a lot
0
 
LVL 8

Expert Comment

by:kiranhk
ID: 12278568
hey, if u r using it why dont you post ur experience of textmining so that others will also benefit. as such i myself havent played around with it but have used POI for lots of my xls stuff. so it will be useful for lots of others in future also.
like if u come across any problem, or a bug etc........

thanks
Kiran
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now