public class RamFileProvider extends AbstractOriginatingFileProvider implements FileProvider
Modifier and Type | Field and Description |
---|---|
static java.util.Collection |
capabilities |
Constructor and Description |
---|
RamFileProvider()
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected FileSystem |
doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions)
Creates a
FileSystem . |
java.util.Collection |
getCapabilities()
Get the filesystem capabilities.
These are the same as on the filesystem, but available before the first filesystem was instanciated. |
findFile, findFile
addFileSystem, close, closeFileSystem, createFileSystem, findFileSystem, freeUnusedResources, getConfigBuilder, getFileNameParser, parseUri, setFileNameParser
addComponent, removeComponent
getContext, getLogger, init, setContext, setLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createFileSystem, findFile, getConfigBuilder, parseUri
protected FileSystem doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions) throws FileSystemException
AbstractOriginatingFileProvider
FileSystem
. If the returned FileSystem implements
VfsComponent
, it will be initialised.doCreateFileSystem
in class AbstractOriginatingFileProvider
name
- The name of the root file of the file system to create.FileSystemException
public java.util.Collection getCapabilities()
FileProvider
getCapabilities
in interface FileProvider