Solved

POI jakarta project

Posted on 2004-10-11
5
405 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

691 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