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.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ClassLoadergetClassLoader(FileSystemOptions opts)protected java.lang.Class<? extends FileSystem>getConfigClass()Get the target of this configuration.static ResourceFileSystemConfigBuildergetInstance()Gets the singleton builder.voidsetClassLoader(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, getEnum, getEnum, getFloat, getFloat, getFloat, getInteger, getInteger, getInteger, getLong, getLong, getLong, getParam, getRootURI, getShort, getShort, getShort, getString, getString, hasObject, hasParam, setParam, setParam, setRootURI
-
-
-
-
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:FileSystemConfigBuilderGet the target of this configuration.- Specified by:
getConfigClassin classFileSystemConfigBuilder- Returns:
- the specific file system class
-
-