[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

POI jakarta project

Posted on 2004-10-11
5
Medium Priority
?
418 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 200 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 does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
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 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 …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month18 days, 18 hours left to enroll

834 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