You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ni...@apache.org on 2014/06/04 18:34:16 UTC
svn commit: r1600326 -
/poi/trunk/src/ooxml/java/org/apache/poi/ss/usermodel/WorkbookFactory.java
Author: nick
Date: Wed Jun 4 16:34:16 2014
New Revision: 1600326
URL: http://svn.apache.org/r1600326
Log:
Add a note about file resources, see bug #56537
Modified:
poi/trunk/src/ooxml/java/org/apache/poi/ss/usermodel/WorkbookFactory.java
Modified: poi/trunk/src/ooxml/java/org/apache/poi/ss/usermodel/WorkbookFactory.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/ss/usermodel/WorkbookFactory.java?rev=1600326&r1=1600325&r2=1600326&view=diff
==============================================================================
--- poi/trunk/src/ooxml/java/org/apache/poi/ss/usermodel/WorkbookFactory.java (original)
+++ poi/trunk/src/ooxml/java/org/apache/poi/ss/usermodel/WorkbookFactory.java Wed Jun 4 16:34:16 2014
@@ -84,6 +84,8 @@ public class WorkbookFactory {
/**
* Creates the appropriate HSSFWorkbook / XSSFWorkbook from
* the given File, which must exist and be readable.
+ * <p>Note that for Workbooks opened this way, it is not possible
+ * to explicitly close the underlying File resource.
*/
public static Workbook create(File file) throws IOException, InvalidFormatException {
if (! file.exists()) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org