SetOutputStream Method
The stream to write the excel document to.
Syntax
public void setOutputStream(java.io.OutputStream archiveStream);
Remarks
This method should be used when the spreadsheet is to be written to a stream when Save is called.
By default, and when this is set to null, the component will write to the file specified to the Save method. However, when this is a valid stream, the data will be written to the stream.