public class RamFileProvider extends AbstractOriginatingFileProvider implements FileProvider
Modifier and Type | Field and Description |
---|---|
static Collection<Capability> |
capabilities
The provider's capabilities.
|
Constructor and Description |
---|
RamFileProvider()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected FileSystem |
doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions)
Creates a
FileSystem . |
Collection<Capability> |
getCapabilities()
Get the filesystem capabilities.
These are the same as on the filesystem, but available before the first filesystem was instanciated. |
findFile, findFile, getFileSystem
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
public static final Collection<Capability> capabilities
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.fileSystemOptions
- The FileSystem options.FileSystemException
- if an error occurs.public Collection<Capability> getCapabilities()
FileProvider
getCapabilities
in interface FileProvider
Copyright © 2002-2016 The Apache Software Foundation. All Rights Reserved.