Hi all,
I have one question. Can I pass/use the same InputStream to
POIFSFileSystem. Because, when I passed the same InputStream to two
different functions I am getting the following error --
java.io.IOException: Unable to read entire header; -1 bytes read;
expected 512 bytes
at
org.apache.poi.poifs.storage.HeaderBlockReader.<init>(HeaderBlockReader.
java:115)
at
org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.j
ava:120)
Please put some light on this..
Regards,
Ramdas Sawant
........................................................................
Associate Consultant, Kanbay
Manikchand Ikon, South Wing 18 Dhole Patil Road
Pune 411001
INDIA
........................................................................
--------------------------------------------------------
NOTICE: If received in error, please destroy and notify sender. Sender does
not waive confidentiality or privilege, and use is prohibited.