FileProvider, VfsComponentpublic class RamFileProvider extends AbstractOriginatingFileProvider
| Modifier and Type | Field | Description |
|---|---|---|
static java.util.Collection<Capability> |
capabilities |
The provider's capabilities.
|
| Constructor | Description |
|---|---|
RamFileProvider() |
Constructs a new provider.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected FileSystem |
doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions) |
Creates a
FileSystem. |
java.util.Collection<Capability> |
getCapabilities() |
Get the filesystem capabilities.
These are the same as on the filesystem, but available before the first filesystem was instanciated. |
addFileSystem, close, closeFileSystem, createFileSystem, findFileSystem, freeUnusedResources, getConfigBuilder, getFileNameParser, parseUri, setFileNameParserfindFile, findFile, getFileSystemgetContext, getLogger, init, setContext, setLoggeraddComponent, removeComponentpublic static final java.util.Collection<Capability> capabilities
public RamFileProvider()
protected FileSystem doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions) throws FileSystemException
AbstractOriginatingFileProviderFileSystem. If the returned FileSystem implements VfsComponent, it will be initialised.doCreateFileSystem in class AbstractOriginatingFileProvidername - The name of the root file of the file system to create.fileSystemOptions - The FileSystem options.FileSystemException - if an error occurs.public java.util.Collection<Capability> getCapabilities()
FileProvider