Class RamFileSystemConfigBuilder
- java.lang.Object
-
- org.apache.commons.vfs.FileSystemConfigBuilder
-
- org.apache.commons.vfs.provider.ram.RamFileSystemConfigBuilder
-
public class RamFileSystemConfigBuilder extends FileSystemConfigBuilder
Config Builder for the RAM filesystem.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ClassgetConfigClass()static RamFileSystemConfigBuildergetInstance()intgetMaxSize(FileSystemOptions opts)voidsetMaxSize(FileSystemOptions opts, int sizeInBytes)sets the maximum size of the file system-
Methods inherited from class org.apache.commons.vfs.FileSystemConfigBuilder
getParam, hasParam, setParam
-
-
-
-
Method Detail
-
getInstance
public static RamFileSystemConfigBuilder getInstance()
- Returns:
- the config builder singleton
-
getConfigClass
protected java.lang.Class getConfigClass()
- Specified by:
getConfigClassin classFileSystemConfigBuilder
-
getMaxSize
public int getMaxSize(FileSystemOptions opts)
- Parameters:
opts-- Returns:
- See Also:
setMaxSize(org.apache.commons.vfs.FileSystemOptions, int)
-
setMaxSize
public void setMaxSize(FileSystemOptions opts, int sizeInBytes)
sets the maximum size of the file system- Parameters:
opts-sizeInBytes-
-
-