Solved

POI jakarta project

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Android studio getdrawable(int) is deprecated 4 121
xampp tool 12 56
Why my table column Id is not passed to java object? 4 44
eclipse buid path vs tomcat lib path 10 34
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

830 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