public class VirtualFileProvider extends AbstractVfsContainer
| Constructor and Description |
|---|
VirtualFileProvider() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
closeFileSystem(FileSystem fileSystem)
Close a VirtualFileSystem by removing it from the
#components list of this provider. |
FileObject |
createFileSystem(FileObject rootFile)
Creates a virtual file system, with the supplied file as its root.
|
FileObject |
createFileSystem(java.lang.String rootUri)
Creates an empty virtual file system.
|
addComponent, close, removeComponentgetContext, getLogger, init, setContext, setLoggerpublic FileObject createFileSystem(FileObject rootFile) throws FileSystemException
rootFile - The root of the file system.FileSystemException - if an error occurs.public FileObject createFileSystem(java.lang.String rootUri) throws FileSystemException
rootUri - The root of the file system.FileSystemException - if an error occurs.void closeFileSystem(FileSystem fileSystem)
#components list of this provider.
This gets called from DefaultFileManager#_closeFileSystem.
fileSystem - the file system remembered by this provider.