On 1/31/2012 3:39 AM, Nick Burch wrote:
On Mon, 30 Jan 2012, Raindog wrote:
Thanks for your suggestion. The following code from your example is close to what I wrote, but leaves me with the same problem I had: How to access the raw bytes of the item from a DocumentEntry.

DocumentInputStream is what you're looking for here, you create one from a DocumentEntry and then you read from it as a normal InputStream

See <http://poi.apache.org/poifs/how-to.html> for more on working with POIFS to read (and write) entries, and <http://poi.apache.org/poifs/embeded.html> for some general info on embedded documents

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


Thanks a lot for your Help guys. I now have working code.

P.S. This is an amazing library.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to