public class DefaultFileSystemConfigBuilder extends FileSystemConfigBuilder
Modifier and Type | Class and Description |
---|---|
(package private) static class |
DefaultFileSystemConfigBuilder.DefaultFileSystem
Dummy class that implements FileSystem.
|
Modifier and Type | Field and Description |
---|---|
private static DefaultFileSystemConfigBuilder |
BUILDER
The default FileSystemConfigBuilder
|
Constructor and Description |
---|
DefaultFileSystemConfigBuilder() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.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, getEnum, getEnum, getFloat, getFloat, getFloat, getInteger, getInteger, getInteger, getLong, getLong, getLong, getParam, getRootURI, getShort, getShort, getShort, getString, getString, hasObject, hasParam, setParam, setParam, setRootURI
private static final DefaultFileSystemConfigBuilder BUILDER
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 java.lang.Class<? extends FileSystem> getConfigClass()
FileSystemConfigBuilder
getConfigClass
in class FileSystemConfigBuilder