Class DefaultFileSystemConfigBuilder
java.lang.Object
org.apache.commons.vfs2.FileSystemConfigBuilder
org.apache.commons.vfs2.impl.DefaultFileSystemConfigBuilder
Default options usable for all file systems.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classDummy class that implements FileSystem. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final DefaultFileSystemConfigBuilderThe default FileSystemConfigBuilder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Class<? extends FileSystem> Gets the target of this configuration.Gets the singleton builder.voidsetUserAuthenticator(FileSystemOptions opts, UserAuthenticator userAuthenticator) Sets the user authenticator to get authentication informations.Methods inherited from class FileSystemConfigBuilder
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
-
Field Details
-
BUILDER
The default FileSystemConfigBuilder
-
-
Constructor Details
-
DefaultFileSystemConfigBuilder
public DefaultFileSystemConfigBuilder()
-
-
Method Details
-
getInstance
Gets the singleton builder.- Returns:
- the singleton builder.
-
setUserAuthenticator
Sets the user authenticator to get authentication informations.- Parameters:
opts- The FileSystemOptions.userAuthenticator- The UserAuthenticator.
-
getUserAuthenticator
- Parameters:
opts- The FileSystemOptions.- Returns:
- The UserAuthenticator.
- See Also:
-
getConfigClass
Description copied from class:FileSystemConfigBuilderGets the target of this configuration.- Specified by:
getConfigClassin classFileSystemConfigBuilder- Returns:
- the specific file system class
-