From 69b2f313741845d42f8a756db83cc5a9fbd4b8a9 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Sun, 10 Oct 2021 09:33:13 +0000 Subject: [PATCH] javadoc git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894096 13f79535-47bb-0310-9956-ffa450edef68 --- .../poi/ss/usermodel/WorkbookFactory.java | 17 +++++++++++++---- 1 file 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

+ * Creates a Workbook from the given POIFSFileSystem. * - * Note that in order to properly release resources the + *

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. + * + *

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. * + *

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. + * + *

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.