org.apache.commons.vfs.provider.webdav
Class WebdavFileSystemConfigBuilder

java.lang.Object
  extended byorg.apache.commons.vfs.FileSystemConfigBuilder
      extended byorg.apache.commons.vfs.provider.webdav.WebdavFileSystemConfigBuilder

public class WebdavFileSystemConfigBuilder
extends FileSystemConfigBuilder

Configuration options for WebDav

Version:
$Revision: 191330 $ $Date: 2005-06-19 10:46:06 +0200 (Sun, 19 Jun 2005) $
Author:
Mario Ivankovits

Method Summary
protected  Class getConfigClass()
           
static WebdavFileSystemConfigBuilder getInstance()
           
 String getProxyHost(FileSystemOptions opts)
          Get the proxy to use for webdav connection You have to set the ProxyPort too if you would like to have the proxy relly used.
 int getProxyPort(FileSystemOptions opts)
          Get the proxy-port to use for webdav the connection You have to set the ProxyHost too if you would like to have the proxy relly used.
 String getUrlCharset(FileSystemOptions opts)
          Set the charset used for url encoding
 void setProxyHost(FileSystemOptions opts, String proxyHost)
          Set the proxy to use for webdav connection.
You have to set the ProxyPort too if you would like to have the proxy relly used.
 void setProxyPort(FileSystemOptions opts, int proxyPort)
          Set the proxy-port to use for webdav connection You have to set the ProxyHost too if you would like to have the proxy relly used.
 void setUrlCharset(FileSystemOptions opts, String chaset)
          Set the charset used for url encoding
 
Methods inherited from class org.apache.commons.vfs.FileSystemConfigBuilder
getParam, hasParam, setParam
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static WebdavFileSystemConfigBuilder getInstance()

setUrlCharset

public void setUrlCharset(FileSystemOptions opts,
                          String chaset)
Set the charset used for url encoding

Parameters:
chaset - the chaset

getUrlCharset

public String getUrlCharset(FileSystemOptions opts)
Set the charset used for url encoding

Returns:
the chaset

setProxyHost

public void setProxyHost(FileSystemOptions opts,
                         String proxyHost)
Set the proxy to use for webdav connection.
You have to set the ProxyPort too if you would like to have the proxy relly used.

Parameters:
proxyHost - the host
See Also:
setProxyPort(org.apache.commons.vfs.FileSystemOptions, int)

setProxyPort

public void setProxyPort(FileSystemOptions opts,
                         int proxyPort)
Set the proxy-port to use for webdav connection You have to set the ProxyHost too if you would like to have the proxy relly used.

Parameters:
proxyPort - the port
See Also:
setProxyHost(org.apache.commons.vfs.FileSystemOptions, java.lang.String)

getProxyHost

public String getProxyHost(FileSystemOptions opts)
Get the proxy to use for webdav connection You have to set the ProxyPort too if you would like to have the proxy relly used.

Returns:
proxyHost
See Also:
setProxyPort(org.apache.commons.vfs.FileSystemOptions, int)

getProxyPort

public int getProxyPort(FileSystemOptions opts)
Get the proxy-port to use for webdav the connection You have to set the ProxyHost too if you would like to have the proxy relly used.

Returns:
proxyPort: the port number or 0 if it is not set
See Also:
setProxyHost(org.apache.commons.vfs.FileSystemOptions, java.lang.String)

getConfigClass

protected Class getConfigClass()
Specified by:
getConfigClass in class FileSystemConfigBuilder


Copyright © 2002-2005 The Apache Software Foundation. All Rights Reserved.