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

java.lang.Object
  extended by org.apache.commons.vfs.FileSystemConfigBuilder
      extended by org.apache.commons.vfs.provider.http.HttpFileSystemConfigBuilder
          extended by org.apache.commons.vfs.provider.webdav.WebdavFileSystemConfigBuilder

public final class WebdavFileSystemConfigBuilder
extends HttpFileSystemConfigBuilder

Configuration options for WebDav.

Version:
$Revision: 804886 $ $Date: 2009-08-17 09:38:49 +0200 (Mo, 17. Aug 2009) $
Author:
Commons VFS team

Method Summary
protected  java.lang.Class getConfigClass()
           
 java.lang.String getCreatorName(FileSystemOptions opts)
          Return the user name to be associated with changes to the file.
static HttpFileSystemConfigBuilder getInstance()
           
 boolean isVersioning(FileSystemOptions opts)
          The cookies to add to the request.
 void setCreatorName(FileSystemOptions opts, java.lang.String creatorName)
          The user name to be associated with changes to the file.
 void setVersioning(FileSystemOptions opts, boolean versioning)
          Whether to use versioning.
 
Methods inherited from class org.apache.commons.vfs.provider.http.HttpFileSystemConfigBuilder
getCookies, getMaxConnectionsPerHost, getMaxTotalConnections, getProxyAuthenticator, getProxyHost, getProxyPort, getUrlCharset, setCookies, setMaxConnectionsPerHost, setMaxTotalConnections, setProxyAuthenticator, setProxyHost, setProxyPort, setUrlCharset
 
Methods inherited from class org.apache.commons.vfs.FileSystemConfigBuilder
getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getCharacter, getCharacter, getCharacter, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInteger, getInteger, getInteger, getLong, getLong, getLong, getParam, getRootURI, getShort, getShort, getShort, getString, getString, hasObject, hasParam, setParam, setRootURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static HttpFileSystemConfigBuilder getInstance()

setCreatorName

public void setCreatorName(FileSystemOptions opts,
                           java.lang.String creatorName)
The user name to be associated with changes to the file.

Parameters:
opts - The FileSystem options
creatorName - The creator name to be associated with the file.

getCreatorName

public java.lang.String getCreatorName(FileSystemOptions opts)
Return the user name to be associated with changes to the file.

Parameters:
opts - The FileSystem options
Returns:
The creatorName.

setVersioning

public void setVersioning(FileSystemOptions opts,
                          boolean versioning)
Whether to use versioning.

Parameters:
opts - The FileSystem options.
versioning - true if versioning should be enabled.

isVersioning

public boolean isVersioning(FileSystemOptions opts)
The cookies to add to the request.

Parameters:
opts - The FileSystem options.
Returns:
true if versioning is enabled.

getConfigClass

protected java.lang.Class getConfigClass()
Overrides:
getConfigClass in class HttpFileSystemConfigBuilder
Returns:
The Webdav FileSystem Class object.


Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.