Package org.apache.commons.vfs2.impl
Class DefaultFileSystemConfigBuilder
java.lang.Object
org.apache.commons.vfs2.FileSystemConfigBuilder
org.apache.commons.vfs2.impl.DefaultFileSystemConfigBuilder
Default options usable for all file systems.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Class<? extends FileSystem>
Get the target of this configuration.Gets the singleton builder.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, getEnum, getEnum, getFloat, getFloat, getFloat, getInteger, getInteger, getInteger, getLong, getLong, getLong, getParam, getRootURI, getShort, getShort, getShort, getString, getString, hasObject, hasParam, setParam, setParam, setRootURI
-
Constructor Details
-
DefaultFileSystemConfigBuilder
public DefaultFileSystemConfigBuilder()
-
-
Method Details
-
getInstance
Gets the singleton builder.- Returns:
- the singleton builder.
-
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
- Parameters:
opts
- The FileSystemOptions.- Returns:
- The UserAuthenticator.
- See Also:
-
getConfigClass
Description copied from class:FileSystemConfigBuilder
Get the target of this configuration.- Specified by:
getConfigClass
in classFileSystemConfigBuilder
- Returns:
- the specific file system class
-