public class VirtualFileProvider extends AbstractVfsContainer
| Constructor and Description |
|---|
VirtualFileProvider() |
| Modifier and Type | Method and Description |
|---|---|
FileObject |
createFileSystem(FileObject rootFile)
Creates a virtual file system, with the supplied file as its root.
|
FileObject |
createFileSystem(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(String rootUri) throws FileSystemException
rootUri - The root of the file system.FileSystemException - if an error occurs.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.