org.apache.commons.vfs.provider.ram
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.
Methods inherited from class org.apache.commons.vfs.FileSystemConfigBuilder |
getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getCharacter, getCharacter, getCharacter, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInteger, getInteger, getInteger, getLong, getLong, getLong, getParam, getRootURI, getShort, getShort, getShort, getString, getString, hasObject, hasParam, setParam, setRootURI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static RamFileSystemConfigBuilder getInstance()
- Returns:
- the config builder singleton
getConfigClass
protected Class getConfigClass()
- Specified by:
getConfigClass
in class FileSystemConfigBuilder
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
-
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.