public class DefaultFileSystemConfigBuilder extends FileSystemConfigBuilder
Constructor and Description |
---|
DefaultFileSystemConfigBuilder() |
Modifier and Type | Method and Description |
---|---|
protected Class<? extends FileSystem> |
getConfigClass()
Gets the target of this configuration.
|
static DefaultFileSystemConfigBuilder |
getInstance()
Gets the singleton builder.
|
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, getDuration, getDuration, getDurationInteger, getDurationInteger, getEnum, getEnum, getFloat, getFloat, getFloat, getInteger, getInteger, getInteger, getLong, getLong, getLong, getParam, getRootURI, getShort, getShort, getShort, getString, getString, hasObject, hasParam, setParam, setParam, setRootURI, toBooleanObject
public static DefaultFileSystemConfigBuilder getInstance()
public void setUserAuthenticator(FileSystemOptions opts, UserAuthenticator userAuthenticator)
opts
- The FileSystemOptions.userAuthenticator
- 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()
FileSystemConfigBuilder
getConfigClass
in class FileSystemConfigBuilder
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.