public class DefaultFileSystemConfigBuilder extends FileSystemConfigBuilder
Constructor and Description |
---|
DefaultFileSystemConfigBuilder() |
Modifier and Type | Method and Description |
---|---|
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.
|
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
public static DefaultFileSystemConfigBuilder getInstance()
public void setUserAuthenticator(FileSystemOptions opts, UserAuthenticator userAuthenticator) throws FileSystemException
opts
- The FileSystemOptions.userAuthenticator
- The UserAuthenticator.FileSystemException
- if an error occurs setting the UserAuthenticator.public UserAuthenticator getUserAuthenticator(FileSystemOptions opts)
opts
- The FileSystemOptions.setUserAuthenticator(org.apache.commons.vfs2.FileSystemOptions, org.apache.commons.vfs2.UserAuthenticator)
protected Class<? extends FileSystem> getConfigClass()
getConfigClass
in class FileSystemConfigBuilder
Copyright © 2002-2016 The Apache Software Foundation. All Rights Reserved.