Class ResourceFileSystemConfigBuilder
- java.lang.Object
-
- org.apache.commons.vfs2.FileSystemConfigBuilder
-
- org.apache.commons.vfs2.provider.res.ResourceFileSystemConfigBuilder
-
public final class ResourceFileSystemConfigBuilder extends FileSystemConfigBuilder
The config BUILDER for various FTP configuration options.
-
-
Field Summary
Fields Modifier and Type Field Description private static ResourceFileSystemConfigBuilder
BUILDER
-
Constructor Summary
Constructors Modifier Constructor Description private
ResourceFileSystemConfigBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ClassLoader
getClassLoader(FileSystemOptions opts)
protected java.lang.Class<? extends FileSystem>
getConfigClass()
Gets the target of this configuration.static ResourceFileSystemConfigBuilder
getInstance()
Gets the singleton builder.void
setClassLoader(FileSystemOptions opts, java.lang.ClassLoader classLoader)
-
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, getRootURI, getShort, getShort, getShort, getString, getString, hasObject, hasParam, setParam, setParam, setRootURI, toBooleanObject
-
-
-
-
Field Detail
-
BUILDER
private static final ResourceFileSystemConfigBuilder BUILDER
-
-
Method Detail
-
getInstance
public static ResourceFileSystemConfigBuilder getInstance()
Gets the singleton builder.- Returns:
- the singleton builder.
-
setClassLoader
public void setClassLoader(FileSystemOptions opts, java.lang.ClassLoader classLoader)
-
getClassLoader
public java.lang.ClassLoader getClassLoader(FileSystemOptions opts)
-
getConfigClass
protected java.lang.Class<? extends FileSystem> getConfigClass()
Description copied from class:FileSystemConfigBuilder
Gets the target of this configuration.- Specified by:
getConfigClass
in classFileSystemConfigBuilder
- Returns:
- the specific file system class
-
-