Hi, 

I've been trying instanciate a HWPFDocument with an input  stream. It's ok with 
FileOutputStream but fails with a Serial blob content (getted  from sql result 
set) converted to binary stream. 

InputStream is = sb.getBinaryStream(); 
HWPFDocument doc = new HWPFDocument(is); 
Why it resets the input with this type of stream and function with stream 
obtained from file ?

Please, any idea ?
 

__________________________________________________________

Jérôme Leytier
Departamento Informática

GRUPO PACÍFICO
Marià Cubí, 4 - Pral. 
08006 Barcelona - SPAIN 
Tel. (34) 932.388.777
Fax. (34) 932.387.488
[EMAIL PROTECTED]
www.pacifico-meetings.com <http://www.pacifico-meetings.com/> 

______________________________________________
This message is for the designated recipient only and may contain privileged or
confidential information. If you have received it in error, please notify the 
sender 
immediately and delete the original. Any other use of the email by you is 
prohibited

 P  Por favor, antes de imprimir este e-mail piense si es necesario hacerlo: El 
medio ambiente es cosa de todos. 
                  Please consider the environment before printing this email

 

Reply via email to