VfsComponent
public class VirtualFileProvider extends AbstractVfsContainer
Constructor | Description |
---|---|
VirtualFileProvider() |
Modifier and Type | Method | Description |
---|---|---|
FileObject |
createFileSystem(java.lang.String rootUri) |
Creates an empty virtual file system.
|
FileObject |
createFileSystem(FileObject rootFile) |
Creates a virtual file system, with the supplied file as its root.
|
getContext, getLogger, init, setContext, setLogger
addComponent, close, removeComponent
public VirtualFileProvider()
public 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.