I don't think you can serialize/deserialize an HSSFWorkbook in the true
sense of object serialization, since it does not implement the marker
interface Serializable or Externalizable.
But depending on what you are trying to do, you may have workarounds.

For example, you could write the HSSFWorkbook to an OutputStream
(file/object) to persist it 
HSSFWorkbook.write(outputStreamInstance)

And then read it in using an InputStream 
new HSSFWorkbook(inputStreamInstance)

As I said earlier, this is not true object serialization, but then again I
do not know what you are trying to do.


-----Original Message-----
From: Felipe Palma Dias [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 06, 2004 2:06 PM
To: [EMAIL PROTECTED]
Subject: Serialize/unserialize an HSSFWorkbook.

A need serialize/unserialize an HSSFWorkbook object.
How can I do this?

Tks.

=====
------------------------------------------------------- 
Felipe F. Palma Dias 
http://geocities.yahoo.com.br/palmadias/


        
        
                
_______________________________________________________ 
Yahoo! Mail - Agora com 250MB de espa�o gratuito. Abra 
uma conta agora! http://br.info.mail.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to