poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32191] New: - Incomplete documentation of HSSFWorkbook.write method
Date Thu, 11 Nov 2004 19:52:41 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32191>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32191

Incomplete documentation of HSSFWorkbook.write method

           Summary: Incomplete documentation of HSSFWorkbook.write method
           Product: POI
           Version: 2.5
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: HSSF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: jswap@yahoo.com


>From experimenting with the HSSFWorkbook.write method, I think the following 
should be added to this method's javadoc:

The HSSFWorkbook.write(OutputStream) method can only be called once, unless 
BOTH of the following conditions are true:
1 - The passed-in OutputStream is closed after every invocation of 
HSSFWorkbook.write (a new OutputStream must be used for each call to 
HSSFWorkbook.write).
2 - If the passed-in OutputStream is a FileOutputStream, it must be 
constructed with its "append" param set to false.

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org


Mime
View raw message