public class RamFileProvider extends AbstractOriginatingFileProvider
Modifier and Type | Field and Description |
---|---|
static Collection<Capability> |
capabilities
The provider's capabilities.
|
Constructor and Description |
---|
RamFileProvider()
Constructs a new provider.
|
Modifier and Type | Method and Description |
---|---|
protected FileSystem |
doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions)
Creates a
FileSystem . |
Collection<Capability> |
getCapabilities()
Gets the file system capabilities.
|
findFile, findFile, getFileSystem
addFileSystem, close, closeFileSystem, createFileSystem, findFileSystem, freeUnusedResources, getConfigBuilder, getFileNameParser, parseUri, setFileNameParser
addComponent, removeComponent
getContext, getLogger, init, setContext, setLogger
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 initialized.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
These are the same as on the file system, but available before the first file system was instanciated.
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.