public final class RamFileSystemConfigBuilder extends FileSystemConfigBuilder
Modifier and Type | Method and Description |
---|---|
protected Class<? extends FileSystem> |
getConfigClass() |
static RamFileSystemConfigBuilder |
getInstance() |
int |
getMaxSize(FileSystemOptions opts) |
void |
setMaxSize(FileSystemOptions opts,
int sizeInBytes)
Sets the maximum size of the file system.
|
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
public static RamFileSystemConfigBuilder getInstance()
protected Class<? extends FileSystem> getConfigClass()
getConfigClass
in class FileSystemConfigBuilder
public int getMaxSize(FileSystemOptions opts)
opts
- The FileSystem options.setMaxSize(org.apache.commons.vfs2.FileSystemOptions, int)
public void setMaxSize(FileSystemOptions opts, int sizeInBytes)
opts
- The FileSystem options.sizeInBytes
- The maximum file size.Copyright © 2002-2016 The Apache Software Foundation. All Rights Reserved.