org.apache.commons.vfs2.impl
Class DefaultFileSystemConfigBuilder

java.lang.Object
  extended by org.apache.commons.vfs2.FileSystemConfigBuilder
      extended by org.apache.commons.vfs2.impl.DefaultFileSystemConfigBuilder

public class DefaultFileSystemConfigBuilder
extends FileSystemConfigBuilder

Default options usable for all filesystems.

Author:
Commons VFS team

Constructor Summary
DefaultFileSystemConfigBuilder()
           
 
Method Summary
protected  Class<? extends FileSystem> getConfigClass()
           
static DefaultFileSystemConfigBuilder getInstance()
           
 UserAuthenticator getUserAuthenticator(FileSystemOptions opts)
           
 void setUserAuthenticator(FileSystemOptions opts, UserAuthenticator userAuthenticator)
          Sets the user authenticator to get authentication informations.
 
Methods inherited from class org.apache.commons.vfs2.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
 

Constructor Detail

DefaultFileSystemConfigBuilder

public DefaultFileSystemConfigBuilder()
Method Detail

getInstance

public static DefaultFileSystemConfigBuilder getInstance()

setUserAuthenticator

public void setUserAuthenticator(FileSystemOptions opts,
                                 UserAuthenticator userAuthenticator)
                          throws FileSystemException
Sets the user authenticator to get authentication informations.

Parameters:
opts - The FileSystemOptions.
userAuthenticator - The UserAuthenticator.
Throws:
FileSystemException - if an error occurs setting the UserAuthenticator.

getUserAuthenticator

public UserAuthenticator getUserAuthenticator(FileSystemOptions opts)
Parameters:
opts - The FileSystemOptions.
Returns:
The UserAuthenticator.
See Also:
setUserAuthenticator(org.apache.commons.vfs2.FileSystemOptions, org.apache.commons.vfs2.UserAuthenticator)

getConfigClass

protected Class<? extends FileSystem> getConfigClass()
Specified by:
getConfigClass in class FileSystemConfigBuilder


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