You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by rg...@apache.org on 2009/03/16 06:08:57 UTC

svn commit: r754817 - in /commons/proper/vfs/trunk: core/src/main/java/org/apache/commons/vfs/FileSystemManager.java xdocs/filesystems.xml

Author: rgoers
Date: Mon Mar 16 05:08:53 2009
New Revision: 754817

URL: http://svn.apache.org/viewvc?rev=754817&view=rev
Log:
Add hasProvider method and update documentation.

Modified:
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileSystemManager.java
    commons/proper/vfs/trunk/xdocs/filesystems.xml

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileSystemManager.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileSystemManager.java?rev=754817&r1=754816&r2=754817&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileSystemManager.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileSystemManager.java Mon Mar 16 05:08:53 2009
@@ -254,6 +254,11 @@
     public FileContentInfoFactory getFileContentInfoFactory();
 
     /**
+	 * Returns true if this manager has a provider for a particular scheme.
+	 */
+	public boolean hasProvider(final String scheme);
+
+    /**
      * Get the schemes currently available.
      */
     public String[] getSchemes();

Modified: commons/proper/vfs/trunk/xdocs/filesystems.xml
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/xdocs/filesystems.xml?rev=754817&r1=754816&r2=754817&view=diff
==============================================================================
--- commons/proper/vfs/trunk/xdocs/filesystems.xml (original)
+++ commons/proper/vfs/trunk/xdocs/filesystems.xml Mon Mar 16 05:08:53 2009
@@ -279,6 +279,18 @@
                     <i>absolute-path</i>]
                 </code>
             </p>
+            <p>
+                 <b>File System Options</b>
+                 <ul>
+                   <li><b>proxyHost</b> The proxy host to connect through.</li>
+                   <li><b>proxyPort</b> The proxy port to use.</li>
+                   <li><b>cookies</b> An array of Cookies to add to the request.</li>
+                   <li><b>maxConnectionsPerHost</b> The maximum number of connections allowed to
+                   a specific host and port. The default is 5.</li>
+                   <li><b>maxTotalConnections</b> The maximum number of connections allowed to
+                   all hosts. The default is 50.</li>
+                 </ul>
+            </p>
 
             <p>
                 <b>Examples</b>