Solved

POI jakarta project

Posted on 2004-10-11
5
389 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
groupNoAdj 7 95
groupSum5 challenge 5 84
topping2 challenge 13 91
xampp tool 12 49
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…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn how to implement Singleton Design Pattern in Java.

770 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