Class RamFileSystemConfigBuilder
java.lang.Object
org.apache.commons.vfs2.FileSystemConfigBuilder
org.apache.commons.vfs2.provider.ram.RamFileSystemConfigBuilder
Config Builder for the RAM file system.
- 
Method SummaryModifier and TypeMethodDescriptionprotected Class<? extends FileSystem> Gets the target of this configuration.static RamFileSystemConfigBuilderGets the singleton builder.longDefaults toInteger.MAX_VALUE.intgetMaxSize(FileSystemOptions opts) Defaults toInteger.MAX_VALUE.voidsetMaxSize(FileSystemOptions opts, int sizeInBytes) Deprecated.voidsetMaxSize(FileSystemOptions opts, long sizeInBytes) Sets the maximum size of the file system.Methods inherited from class org.apache.commons.vfs2.FileSystemConfigBuildergetBoolean, 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- 
getInstanceGets the singleton builder.- Returns:
- the singleton builder.
 
- 
getConfigClassGets the target of this configuration.- Specified by:
- getConfigClassin class- FileSystemConfigBuilder
- Returns:
- the specific file system class
 
- 
getLongMaxSizeDefaults toInteger.MAX_VALUE.- Parameters:
- opts- The FileSystem options.
- Returns:
- The maximum size of the file.
- Since:
- 2.1
- See Also:
 
- 
getMaxSizeDefaults toInteger.MAX_VALUE.- Parameters:
- opts- The FileSystem options.
- Returns:
- The maximum size of the file. The next major version will change the return type to a long.
- See Also:
 
- 
setMaxSizeDeprecated.Sets the maximum size of the file system.- Parameters:
- opts- The FileSystem options.
- sizeInBytes- The maximum file size.
 
- 
setMaxSizeSets the maximum size of the file system.- Parameters:
- opts- The FileSystem options.
- sizeInBytes- The maximum file size.
 
 
- 
setMaxSize(FileSystemOptions, long)