[bug-64542] allow file channel closing to be controlled by calling code

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894071 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2021-10-09 13:55:04 +00:00
parent 2d7053d667
commit 35ce12035a
1 changed files with 2 additions and 2 deletions

View File

@ -208,8 +208,8 @@ public class POIFSFileSystem extends BlockStore
}
/**
* <p>Creates a POIFSFileSystem from an open <tt>FileChannel</tt>. This uses
* less memory than creating from an <tt>InputStream</tt>.</p>
* <p>Creates a POIFSFileSystem from an open {@code FileChannel}. This uses
* less memory than creating from an {@code InputStream}.</p>
*
* <p>Note that with this constructor, you will need to call {@link #close()}
* when you're done to have the underlying resources closed. The <code>closeChannel</code>