Author: imario
Date: Sat Dec 9 00:24:19 2006
New Revision: 484947
URL: http://svn.apache.org/viewvc?view=rev&rev=484947
Log:
added closeFileSystem doc
Modified:
jakarta/commons/proper/vfs/trunk/xdocs/api.xml
Modified: jakarta/commons/proper/vfs/trunk/xdocs/api.xml
URL:
http://svn.apache.org/viewvc/jakarta/commons/proper/vfs/trunk/xdocs/api.xml?view=diff&rev=484947&r1=484946&r2=484947
==============================================================================
--- jakarta/commons/proper/vfs/trunk/xdocs/api.xml (original)
+++ jakarta/commons/proper/vfs/trunk/xdocs/api.xml Sat Dec 9 00:24:19 2006
@@ -54,7 +54,16 @@
}
]]></source>
- <p>
+ <p>
+ In some cases you might want to explicitely
free resources allocated by the filesystem.
+ You can do this by calling
+ <a
href="apidocs/org/apache/commons/vfs/FileSystemManager.html#closeFileSystem">VFS.getManager().closeFileSystem(fs)</a>.
+ If you use VFS as singleton (as described
above) you should take care that this will close the filesystem for
+ all threads.<br />
+ In other words, do not close any globally used
filesystem like the one for local files.
+ </p>
+
+ <p>
See the
<a
href="apidocs/org/apache/commons/vfs/FileObject.html">FileObject</a>
Javadocs for more detail.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]