Cool. It works and also solved my problem thanks a lot Daniel.
Sushil
-Original Message-
From: Daniel Noll [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 18, 2006 11:06 AM
To: POI Users List
Subject: Re: protected word doc
Sushil Khekare wrote:
> How to find out a document is encryp
Sushil Khekare wrote:
How to find out a document is encrypted using java. While using POI
error is thrown at constructor level only so no way to use any method on
the object of wordDocument or hwpfdocument.
Here's one way:
POIFSFileSystem fileSystem = // ...
Entry summaryEntry = fileS
:42 AM
To: POI Users List
Subject: Re: protected word doc
Sushil Khekare wrote:
> when i try to extract text from microsoft word document POI goes out
> of memory when actually memory is not so much consumed by jvm. Any
> body knows how to solve this also is there any new version
Sushil Khekare wrote:
when i try to extract text from microsoft word document POI goes out of
memory when actually memory is not so much consumed by jvm. Any body
knows how to solve this also is there any new version of poi in
pipeline. Code goes out of memory at this line
byte[] tableStream =
Try to user wd.remove() and sheet.remove()
After every iteration !!
-Original Message-
From: Sushil Khekare [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 17, 2006 4:37 PM
To: poi-user@jakarta.apache.org
Subject: protected word doc
when i try to extract text from microsoft word
when i try to extract text from microsoft word document POI goes out of
memory when actually memory is not so much consumed by jvm. Any body
knows how to solve this also is there any new version of poi in
pipeline. Code goes out of memory at this line
byte[] tableStream = new byte[size];
the