Class ResourceFileSystemConfigBuilder
java.lang.Object
org.apache.commons.vfs2.FileSystemConfigBuilder
org.apache.commons.vfs2.provider.res.ResourceFileSystemConfigBuilder
The config BUILDER for various FTP configuration options.
-
Method Summary
Modifier and TypeMethodDescriptiongetClassLoader
(FileSystemOptions fileSystemOptions) Gets the class loader from the FileSystemOptions.protected Class<? extends FileSystem>
Gets the target of this configuration.Gets the singleton builder.void
setClassLoader
(FileSystemOptions fileSystemOptions, ClassLoader classLoader) Sets the class loader in the FileSystemOptions.Methods inherited from class org.apache.commons.vfs2.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, getParamOrDefault, getRootURI, getShort, getShort, getShort, getString, getString, hasObject, hasParam, setParam, setParam, setRootURI, toBooleanObject
-
Method Details
-
getInstance
Gets the singleton builder.- Returns:
- the singleton builder.
-
getClassLoader
Gets the class loader from the FileSystemOptions.- Parameters:
fileSystemOptions
- The source FileSystemOptions.- Returns:
- the class loader from the FileSystemOptions.
-
getConfigClass
Description copied from class:FileSystemConfigBuilder
Gets the target of this configuration.- Specified by:
getConfigClass
in classFileSystemConfigBuilder
- Returns:
- the specific file system class
-
setClassLoader
Sets the class loader in the FileSystemOptions.- Parameters:
fileSystemOptions
- Target FileSystemOptions.classLoader
- The data to set.
-