Class WebdavFileSystemConfigBuilder
- java.lang.Object
-
- org.apache.commons.vfs.FileSystemConfigBuilder
-
- org.apache.commons.vfs.provider.webdav.WebdavFileSystemConfigBuilder
-
public class WebdavFileSystemConfigBuilder extends org.apache.commons.vfs.FileSystemConfigBuilderConfiguration options for WebDav- Version:
- $Revision: 480428 $ $Date: 2006-11-29 07:15:24 +0100 (Wed, 29 Nov 2006) $
- Author:
- Mario Ivankovits
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ClassgetConfigClass()static WebdavFileSystemConfigBuildergetInstance()org.apache.commons.vfs.UserAuthenticatorgetProxyAuthenticator(org.apache.commons.vfs.FileSystemOptions opts)Get the proxy authenticator where the system should get the credentials fromjava.lang.StringgetProxyHost(org.apache.commons.vfs.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.intgetProxyPort(org.apache.commons.vfs.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.java.lang.StringgetUrlCharset(org.apache.commons.vfs.FileSystemOptions opts)Set the charset used for url encodingvoidsetProxyAuthenticator(org.apache.commons.vfs.FileSystemOptions opts, org.apache.commons.vfs.UserAuthenticator authenticator)Set the proxy authenticator where the system should get the credentials fromvoidsetProxyHost(org.apache.commons.vfs.FileSystemOptions opts, java.lang.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.voidsetProxyPort(org.apache.commons.vfs.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.voidsetUrlCharset(org.apache.commons.vfs.FileSystemOptions opts, java.lang.String chaset)Set the charset used for url encoding
-
-
-
Method Detail
-
getInstance
public static WebdavFileSystemConfigBuilder getInstance()
-
setUrlCharset
public void setUrlCharset(org.apache.commons.vfs.FileSystemOptions opts, java.lang.String chaset)Set the charset used for url encoding- Parameters:
chaset- the chaset
-
getUrlCharset
public java.lang.String getUrlCharset(org.apache.commons.vfs.FileSystemOptions opts)
Set the charset used for url encoding- Returns:
- the chaset
-
setProxyHost
public void setProxyHost(org.apache.commons.vfs.FileSystemOptions opts, java.lang.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(org.apache.commons.vfs.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 java.lang.String getProxyHost(org.apache.commons.vfs.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(org.apache.commons.vfs.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)
-
setProxyAuthenticator
public void setProxyAuthenticator(org.apache.commons.vfs.FileSystemOptions opts, org.apache.commons.vfs.UserAuthenticator authenticator)Set the proxy authenticator where the system should get the credentials from
-
getProxyAuthenticator
public org.apache.commons.vfs.UserAuthenticator getProxyAuthenticator(org.apache.commons.vfs.FileSystemOptions opts)
Get the proxy authenticator where the system should get the credentials from
-
getConfigClass
protected java.lang.Class getConfigClass()
- Specified by:
getConfigClassin classorg.apache.commons.vfs.FileSystemConfigBuilder
-
-