aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2021-10-10 09:33:13 +0000
committerPJ Fanning <fanningpj@apache.org>2021-10-10 09:33:13 +0000
commit69b2f313741845d42f8a756db83cc5a9fbd4b8a9 (patch)
tree5e63a48d861b1cf68c51bf2b5407b6605be055ad
parent87eed3a8b15f5fba279d39216ef210426a5a8ec8 (diff)
downloadpoi-69b2f313741845d42f8a756db83cc5a9fbd4b8a9.tar.gz
poi-69b2f313741845d42f8a756db83cc5a9fbd4b8a9.zip
javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894096 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--poi/src/main/java/org/apache/poi/ss/usermodel/WorkbookFactory.java17
1 files changed, 13 insertions, 4 deletions
diff --git a/poi/src/main/java/org/apache/poi/ss/usermodel/WorkbookFactory.java b/poi/src/main/java/org/apache/poi/ss/usermodel/WorkbookFactory.java
index 3e9b887179..0b910f379f 100644
--- a/poi/src/main/java/org/apache/poi/ss/usermodel/WorkbookFactory.java
+++ b/poi/src/main/java/org/apache/poi/ss/usermodel/WorkbookFactory.java
@@ -73,9 +73,9 @@ public final class WorkbookFactory {
}
/**
- * Creates a HSSFWorkbook from the given POIFSFileSystem<p>
+ * Creates a Workbook from the given POIFSFileSystem.
*
- * Note that in order to properly release resources the
+ * <p>Note that in order to properly release resources the
* Workbook should be closed after use.
*
* @param fs The {@link POIFSFileSystem} to read the document from
@@ -90,7 +90,10 @@ public final class WorkbookFactory {
/**
* Creates a Workbook from the given POIFSFileSystem, which may
- * be password protected
+ * be password protected.
+ *
+ * <p>Note that in order to properly release resources the
+ * Workbook should be closed after use.
*
* @param fs The {@link POIFSFileSystem} to read the document from
* @param password The password that should be used or null if no password is necessary.
@@ -107,6 +110,9 @@ public final class WorkbookFactory {
/**
* Creates a Workbook from the given DirectoryNode.
*
+ * <p>Note that in order to properly release resources the
+ * Workbook should be closed after use.
+ *
* @param root The {@link DirectoryNode} to start reading the document from
*
* @return The created Workbook
@@ -120,7 +126,10 @@ public final class WorkbookFactory {
/**
* Creates a Workbook from the given DirectoryNode, which may
- * be password protected
+ * be password protected.
+ *
+ * <p>Note that in order to properly release resources the
+ * Workbook should be closed after use.
*
* @param root The {@link DirectoryNode} to start reading the document from
* @param password The password that should be used or null if no password is necessary.